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

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

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

Post 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:
Last edited by Hansvon on March 19th, 2016, 11:39 am, edited 37 times in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd RPM for Fedora

Post by shypike »

Great! Good initiative.
Can we add this info to our Wiki?
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora

Post by Hansvon »

Yes of course, you can.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd RPM for Fedora

Post 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.
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd RPM for Fedora

Post by shypike »

Done.
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora

Post by Hansvon »

Thank you!
evandena
Newbie
Newbie
Posts: 2
Joined: May 15th, 2010, 1:52 am

Re: SABnzbd RPM for Fedora

Post by evandena »

Do you know if this will work for Cent 5?
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora

Post by Hansvon »

No, it doesn't now. But next version will.
evandena
Newbie
Newbie
Posts: 2
Joined: May 15th, 2010, 1:52 am

Re: SABnzbd RPM for Fedora

Post 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?
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora

Post 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.
Last edited by Hansvon on May 18th, 2010, 9:20 pm, edited 1 time in total.
xistent
Newbie
Newbie
Posts: 2
Joined: May 18th, 2010, 11:23 pm

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post 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?
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by Hansvon »

Mmmh, sorry, I guess I missed a python requirement. Please try to install pyOpenSSL (yum install pyOpenSSL).
xistent
Newbie
Newbie
Posts: 2
Joined: May 18th, 2010, 11:23 pm

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by xistent »

you are quick...That fixed it. Thanks
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by Hansvon »

Great. I've updated all the RPMs to add the pyOpenSSL (and python-feedparser) requirements.
Post Reply