SABnzbd installation

Before I attempt to make a HOWTO document, can someone try these (very) rough directions to install sabnzbd? I got it working and want to see if this will work for others:

Sabnzbd
Make sure you have the dev bundles installed and git

#par2
cd /opt
sudo git clone GitHub - Parchive/par2cmdline: Official repo for par2cmdline and libpar2
sudo ./automake.sh
sudo ./configure
sudo make
sudo make install

#unrar

or https://www.rarlab.com/rar/rarlinux-x64-5.8.b4.tar.gz
extract to /opt/rar
cd /usr/bin
sudo ln -s /opt/rar/unrar unrar
sudo ln -s /opt/rar/rar rar

#SABnzb python 3 version
cd /opt
git clone GitHub - sabnzbd/sabnzbd: SABnzbd - The automated Usenet download tool
cd sabnzbd/

#this cmd did not work with sudo for me, had to ‘su -’ and run this from /opt/sabnzbd
pip3 install -r requirements.txt -U

#b0 prevents browser from auto-launching
./SABnzbd.py -b0
open http://127.0.0.1:8080/

1 Like

You shouldn’t sudo any of these commands. This is actually dangerous. Only the make install should be run with sudo.

The general pattern is to download to somewhere in your /home folder, and do:

./configure
make
sudo make install

Thanks! I’m about to redo with a clean install and I will update the directions and test.