Page 1 of 14

RPM for Fedora and RHEL/CentOS/Scientific Linux 5-7

Posted: May 8th, 2010, 4:50 am
by Hansvon
I've prepared SABnzbd RPMs for Fedora (current versions) and RHEL/CentOS/Scientific Linux 5+

Once installed, you can start SABnzbd by typing SABnzbd in a terminal or in the gnome (KDE?) menu (Internet->SABnzbd).


Third-party repositories
SABnzbd requires unrar from RPM Fusion or ATrpms.
For RHEL5/6, SABnzbd requires packages available in EPEL (what is EPEL?, Using EPEL): par2cmdline, python26 for RHEL5, etc...


Fedora install instructions:
If you want to get updates automatically, you can install the SABnzbd-release RPM and then run "yum install SABnzbd".
Otherwise, browse the repo and install rpm manually.

RHEL/CentOS/Scientific Linux 5-7 install instructions:
For automatic updates, copy SABnzbd-5.repo (RHEL5), SABnzbd-6.repo (RHEL6), or SABnzbd-7.repo (RHEL7) file to your /etc/yum.repos.d/ directory. Then run "yum install SABnzbd".
Otherwise, browse the repo and install rpm manually.



Run SABnzbd as a service

For Fedora<=18 and RHEL 5-6
The RPM installs a init.d service file but does not start it by defaut. If you want to run SABnzbd as a service executed as user sabuser, you need to
  • (as sabuser) run SABnzbd once to have a configuration file (the service checks that /home/sabuser/.sabnzbd/sabnzbd.ini exists). Don't forget to stop SABnzbd when done.
  • (as root) define a few variables in /etc/sysconfig/SABnzbd
  • (as root) try to start the service ("service SABnzbd start"), see if it's running ("service SABnzbd status"), try to stop it ("service SABnzbd stop"). If you can't stop it, it means the gui address and/or the username/password and/or the apikey is/are wrong (ie. fix /etc/sysconfig/SABnzbd). It's very important that the system can stop properly SABnzbd. Please be careful.
  • (as root) if the third step works: "chkconfig --level 345 SABnzbd on", to have SABnzbd started in run levels 3,4, and 5 when your computer starts
For Fedora>=19 and RHEL 7
The RPM installs a systemd service file but does not start it by defaut. If you want to run SABnzbd as a service executed as user sabuser, you need to:

Re: SABnzbd RPM for Fedora

Posted: May 8th, 2010, 1:37 pm
by shypike
Great! Good initiative.
Can we add this info to our Wiki?

Re: SABnzbd RPM for Fedora

Posted: May 10th, 2010, 1:18 am
by Hansvon
Yes of course, you can.

Re: SABnzbd RPM for Fedora

Posted: May 10th, 2010, 5:21 am
by shypike
I've created the Wiki page.
http://wiki.sabnzbd.org/install-fedora-repo

The warning is there because we want to make clear that people are
not dealing with the SABnzbd team but with you and that we cannot support package
(due to lack of knowledge).
I hope you don't mind the email address at the bottom, if so let us know.

Re: SABnzbd RPM for Fedora

Posted: May 10th, 2010, 9:20 pm
by Hansvon
Yes, please remove my email address. People can ask questions in this thread or PM me.
You can link:
- this  thread:  http://forums.sabnzbd.org/index.php?topic=4305
- PM: http://forums.sabnzbd.org/index.php?act ... nd;u=11709

Re: SABnzbd RPM for Fedora

Posted: May 11th, 2010, 2:35 am
by shypike
Done.

Re: SABnzbd RPM for Fedora

Posted: May 11th, 2010, 3:53 am
by Hansvon
Thank you!

Re: SABnzbd RPM for Fedora

Posted: May 15th, 2010, 1:53 am
by evandena
Do you know if this will work for Cent 5?

Re: SABnzbd RPM for Fedora

Posted: May 15th, 2010, 2:15 am
by Hansvon
No, it doesn't now. But next version will.

Re: SABnzbd RPM for Fedora

Posted: May 15th, 2010, 2:35 am
by evandena
Hansvon wrote: No, it doesn't now. But next version will.
Can't wait. My SABnzbd breaks every time I upgrade, and it takes me a day to figure it out.

Any ETA on Cent support?

Re: SABnzbd RPM for Fedora

Posted: May 18th, 2010, 12:35 am
by Hansvon
I've uploaded packages for Redhat Enterprise (and CentOS et al.) 5. Please try. You need EPEL for a few missing dependencies (par2, python-cheetah, ...) and unrar from RPM Fusion or elsewhere.
Honestly, this is maybe the first and last release of SABnzbd for RHEL/CentOS. I don't have time to check that it's working (SABnzbd developers don't support python 2.4 anymore).

All the Fedora packages were also modified:
- now RPMs are signed, please install SABnzbd-release to have the public key and proper repo configuration
- the service uses the recommended way to shutdown SABnzbd (as described here). Now, you need to enter the apikey and username/password of the gui in /etc/sysconfig/SABnzbd.

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Posted: May 18th, 2010, 11:25 pm
by xistent
I have setup sabnzbd on fedora 12, but I am unable to use and SSL news server. In the options is says SSLnot Installed. Is there something I missed?

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Posted: May 18th, 2010, 11:33 pm
by Hansvon
Mmmh, sorry, I guess I missed a python requirement. Please try to install pyOpenSSL (yum install pyOpenSSL).

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Posted: May 18th, 2010, 11:44 pm
by xistent
you are quick...That fixed it. Thanks

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Posted: May 19th, 2010, 12:32 am
by Hansvon
Great. I've updated all the RPMs to add the pyOpenSSL (and python-feedparser) requirements.