Install on CentOS 5.2
Alas, the CentOS 5.2 repositories do not have all required modules, so you need to so some work yourself.
It does come with Python 2.4, which is OK for SABnzbd.
Some extra packages are available if you allow access to the unofficial Dag Wieers repository:
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Required compiler stuff
yum install gcc gcc-c++ python-devel
PyOpenSSL
yum install pyOpenSSL
Cheetah
yum install python-cheetah
==OR==
wget http://mesh.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-2.0.1.tar.gz
gzip zxf Cheetah-2.0.1.tar.gz
cd Cheetah-2.0.1
python setup.py install # Need to do this as admin
cd ..
YEnc
wget http://sabnzbd.sourceforge.net/yenc-0.3.tar.gz
tar zxf yenc-0.3.tar.gz
cd yenc-0.3
python setup.py install # Need to do this as admin
cd ..
par2cmdline
wget http://garr.dl.sourceforge.net/sourceforge/parchive/par2cmdline-0.4.tar.gz
wget http://sage.math.washington.edu/home/binegar/src/par2cmdline-0.4-gcc4.patch
tar zxf par2cmdline-0.4.tar.gz
cd par2cmdline-0.4
patch <../par2cmdline-0.4-gcc4.patch reedsolomon.cpp
./configure
make
make check
make install # Need to do this as admin
cd ..
unrar
yum install unrar
==OR==
wget http://www.rarlab.com/rar/unrar-3.7.7-centos.gz
gzip -d unrar-3.7.7-centos.gz
chmod +x unrar-3.7.7-centos
cp unrar-3.7.7-centos /usr/bin/unrar # Need to do this as admin
Feedparser
wget http://feedparser.googlecode.com/files/feedparser-4.1.zip
mkdir feedparser-4.1
cd feedparser-4.1
unzip ../feedparser-4.1.zip
python setup.py install # Need to do this as admin
cd ..
SABnzbd itself
wget http://switch.dl.sourceforge.net/sourceforge/sabnzbdplus/SABnzbd-0.4.6-src.tar.gz
tar zxf SABnzbd-0.4.6-src.tar.gz
cd SABnzbd-0.4.6
# pre-compile optimized
python -OO SABnzbd.py -v
cd ..
Start it
SABnzbd can be started with:
SABnzbd-0.4.6/SABnzbd.py -s 0.0.0.0:8080