Install on CentOs 5.4

The CentOS 5.4 repositories do not have all required modules, so you need to so some work yourself.
It comes with Python 2.4, which isn't always compatible with every SABnzbd release.

In order to install a later version of Python on CentOS, you will need to add the EPEL repository.
This contains both the updated python and the par2cmdline files that SABnzbd needs.

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm

Install Python 2.6

yum install python26 python26-devel

Required compiler stuff

yum install gcc gcc-c++

Other required components

yum install par2cmdline unrar

Everything else will need to be installed manually into Python 2.6
All links are valid at time of writing, however you may need to correct them when later versions are released.

PyOpenSSL - Source package from http://pypi.python.org/pypi/pyOpenSSL

wget http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.10.tar.gz
tar zxf pyOpenSSL-0.10.tar.gz
cd pyOpenSSL-0.10
python26 setup.py install
cd ..

Cheetah - Latest source package from http://pypi.python.org/pypi/Cheetah

wget http://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.2.1.tar.gz
tar zxf Cheetah-2.4.2.1.tar.gz
cd Cheetah-2.4.2.1
python26 setup.py install
cd ..

yEnc - Currently provided by SABnzbd SourceForge hosting

wget http://sabnzbd.sourceforge.net/yenc-0.3.tar.gz
tar zxf yenc-0.3.tar.gz
cd yenc-0.3
python26 setup.py install
cd ..

Feedparser - Source package from http://pypi.python.org/pypi/FeedParser

wget http://pypi.python.org/packages/source/F/FeedParser/feedparser-4.1.tar.gz
tar zxf feedparser-4.1.tar.gz
cd feedparser-4.1
python26 setup.py install    # Need to do this as admin
cd ..

SABnzbd itself - Source package from http://sabnzbd.org/download/

wget http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/sabnzbd-0.5.2/SABnzbd-0.5.2-src.tar.gz/download
tar zxf SABnzbd-0.5.2-src.tar.gz
cd SABnzbd-0.5.2
python26 -OO SABnzbd.py -v
cd ..

Start it - SABnzbd can be started with:

python26 SABnzbd-0.5.2/SABnzbd.py -s 0.0.0.0:8080

Contributed by YukiHyou

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License