Installing Trac 0.12.x Python 2.6 on RHEL 5.8

A quick note to install those stuff.

Install EPEL repo (
yum install python26 python-devel subversion subversion-devel
Install setuptools
easy_install trac
tar xjvf subversion-1.6.17.tar.bz2
cd subversion-1.6.17
tar xzvf sqlite-amalgamation-3.6.13.tar.gz
mkdir sqlite-amalgamation
cp sqlite-3.6.13/sqlite3.c /home/sysadmin/subversion-1.6.17/sqlite-amalgamation/sqlite3.c
cd /usr/bin
rm python
ln -s python2.6 python
cd –
make swig-py
make install-swig-py
cp -R /usr/local/lib/svn-python/libsvn /usr/lib/python2.6/site-packages/
cp -R /usr/local/lib/svn-python/svn /usr/lib/python2.6/site-packages/

/sbin/service httpd restart

Leave a Reply

Your email address will not be published.