JCFP maintains an Ubuntu package which is stored in an unofficial repository1.
Attention: As of Ubuntu 10.04 Lucid, SABnzbd is part of the standard Ubuntu repository "multiverse". Installing SABnzbd is easy:
- Start the Software Center and search "sabnzbd" (or "sabnzbdplus"). Then click Install.
- Or, from the command line with "multiverse" enabled, type "sudo apt-get install sabnzbdplus".
If you use this method, you can skip the first parts and jump to "How To Start"
The below information handles installation from the PPA package. The PPA version can be useful as it is often more uptodate than the regular Ubuntu Multiverse version.
The following part is (c) 2008 by JCF Ploemen
How To PPA Setup
I've created a repository with the latest version of SABnzbd+. When using this repository, you will be able to easily install the program and its dependencies, and in case any new version of the program is released, you will be automatically notified just like with any other updated package. Reasonable efforts will be made to keep things as up-to-date as possible. Be patient.
Currently hardy (8.04), lucid (10.04), maverick (10.10), natty (11.04), oneiric (11.10), precise (12.04) and quantal (12.10) are supported. Debian users: sabnzbdplus is in sid/unstable (contrib).
As with any repository, this one too has to be added to your /etc/apt/sources.list. To do so, run the following command in a terminal:
sudo add-apt-repository ppa:jcfp/ppa
If you are using an older version of Ubuntu and the above command fails, you will need to issue these commands instead:
echo "deb http://ppa.launchpad.net/jcfp/ppa/ubuntu $(lsb_release -c -s) main" | sudo tee -a /etc/apt/sources.list && sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:11371 --recv-keys 0x98703123E0F52B2BE16D586EF13930B14BB9F05F
Next, tell apt to update, so it learns of the new package now available:
sudo apt-get update
How To Install
Install the main program package. All dependencies will be automatically taken care of in this step as well:
sudo apt-get install sabnzbdplus
How To Start
And that's it. To start the program, just execute:
If this is the first time you run SABnzbd (or, more exact, if there is no sabnzbd.ini in ~/.sabnzbd/), SABnzbd will start the wizard which lets you fill out the needed parameters.
It's preferred to run SABnzbd as a normal user: SABnzbd does not need any special root rights, and it's safer to run as a normal user.
How To Run as a Service
If you want the program to be started as a service (i.e., in the background on system boot), you will need to edit (as root) the file /etc/default/sabnzbdplus and set the "USER=" to the appropriate setting and the "HOST=" to 0.0.0.0 .
Once configured correctly, you will be able to start and stop SABnzbd with the commands /etc/init.d/sabnzbdplus start and /etc/init.d/sabnzbdplus stop. On more recent Ubuntu versions, you can use
sudo service sabnzbdplus start
sudo service sabnzbdplus stop
Although for obvious reasons no browser is auto-started when running the program like this, the web interface is still available at the usual location of http://localhost:8080/sabnzbd/ (or whatever other host and port you configured).
The Fine Print
- This is an unofficial package from an unofficial repository. Don't file bugs about packages installed from this repository in Ubuntu's bug tracker, instead complain right here in this topic.
- Several small changes have been made compared to stock sabnzbd+; the only one relevant for everyday use is that the version from the package always tries to find and use the configuration in the home directory of the user starting it, even when run in the background. The standard one doesn't, instead - when run with the —daemon option - it always assumes its configuration is in the same directory as the executable. This is undesirable with a system-wide install on Linux, since it causes the program to attempt to store its configuration file in /usr/bin.
- The sabnzbdplus package is also available from the official Ubuntu repositories (jaunty/9.04 and newer, in multiverse) as well as from Debian (sid/unstable, in contrib). It's safe to use the ppa and the official repositories side by side in Ubuntu; in case both have the same release the design of the package will cause the official repositories to take precedence.
If you are interested in packaging, want to grab the source package, or just check out the build logs, visit the launchpad ppa page of the repository.