Edgewall Software

Version 1 (modified by Daneil YC Lin <dlin.tw@…>, 14 years ago) ( diff )

Installing Trac on ArchLinux for Multiple Projects using Mod_Python

ArchLinux is powered by a simple and lightweight package management system. It is release by rolling binary system. Keep update by command line pacman -Syu will get the most recent version.

install depend packages from binary

pacman -S mod_python python-pysqlite

Download trac from binary

Trac is already on community repository, check /etc/pacman.conf, make sure uncomment the following.

# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community

SUPFILES=(arch extra !unstable community !testing)

download and install it

pacman -S trac 

or, build trac from source

if want the newest version trac.

edit the /etc/abs/abs.conf, unmark the community

SUPFILES=(arch extra !unstable community !testing)
cd /var/abs/community/network/trac
vi PKGBUILD  # modify the version to the newest version
makepkg -g   # modify PKGBUILD with the correct md5 checksum
makepkg -c   # build binary package file, and clean up work files after build
sudo pacman -A *.pkg.tar.gz  # install it
sudo pacman -U *.pkg.tar.gz  # or, upgrade it, if already installed

configure mod_python

edit /etc/httpd/conf/httpd.conf, append following line

LoadModule python_module /usr/lib/apache/mod_python.so

to be continue…

Note: See TracWiki for help on using the wiki.