Install on ClarkConnect 4.2

Installation of SABnzbd on ClarkConnect 4.2.

Not many modules are directly available, but it is possible to install the required material.
You need to install the compiler packages too.

WARNING: this is not a ready-to-run script. It may need editing for your specific situation.

# Development tools
apt-get -y install gcc
apt-get -y install python-devel
apt-get install cc-devel

# Remove very old Python
apt-get -y remove python

# Python 2.5.2
wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz
gzip -d Python-2.5.2.tgz
tar xf Python-2.5.2.tar
cd Python-2.5.2
./configure
make
make install
cd

# cheetah-2.0.1
wget http://mesh.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-2.0.1.tar.gz
gzip -d Cheetah-2.0.1.tar.gz
tar xf Cheetah-2.0.1.tar
cd Cheetah-2.0.1
python2.5 setup.py install
cd

#    yenc module >= 0.3
wget http://sabnzbd.sourceforge.net/yenc-0.3.tar.gz
gzip -d yenc-0.3.tar.gz
tar xf yenc-0.3.tar
cd yenc-0.3
python2.5 setup.py install
cd

#    par2cmdline >= 0.4      http://parchive.sourceforge.net/
wget http://garr.dl.sourceforge.net/sourceforge/parchive/par2cmdline-0.4.tar.gz
gzip -d par2cmdline-0.4.tar.gz
tar xf par2cmdline-0.4.tar
cd par2cmdline-0.4.tar
./configure
make
make check
make install
cd

#    unrar >= 3.6.6          http://www.rarlab.com/rar_add.htm
wget http://www.rarlab.com/rar/unrarsrc-3.7.8.tar.gz
gzip -d unrarsrc-3.7.8.tar.gz
tar xf unrarsrc-3.7.8.tar
cd unrar
make -f makefile.unix
cp unrar /usr/local/bin
cd

#    unzip >= 5.5.2          http://www.info-zip.org/
# use installed 5.5.1 release??
cd

#    feedparser >= 4.1       http://feedparser.org/
wget http://feedparser.googlecode.com/files/feedparser-4.1.zip
mkdir feedparser-4.1
cd feedparser-4.1
unzip ../feedparser-4.1.zip
python2.5 setup.py install
cd

# SABnzbd
wget http://switch.dl.sourceforge.net/sourceforge/sabnzbdplus/SABnzbd-0.4.2-src.tar.gz
gzip -d SABnzbd-0.4.2-src.tar.gz
tar xf SABnzbd-0.4.2-src.tar
cd SABnzbd-0.4.2
# pre-compile optimized
python2.5 -OO SABnzbd.py -v

SABnzbd can be started with:

python2.5 /PATH-TO-SABnzbd/SABnzbd.py -b0 -s 0.0.0.0:8080
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License