Skip to content

Install SickGear 10 Fedora

SickGear edited this page Feb 25, 2023 · 1 revision

SickGear Wiki: Home | Reporting Issues | Frequently Answered Questions | > Install Guides <

Fedora : SickGear Install Guide


Method 1: Install

Pyenv : SickGear Install Guide

Clone the repository to where you want to install it, in this case /opt/sickgear
Run the commands with the user you wish to run SickGear as.
In this case it's going to be user1.

The commands below are run as as user1.

sudo git clone https://github.com/SickGear/SickGear.git /opt/sickgear
sudo chown user1 -R /opt/sickgear
Expand (To build Python using Pyenv)

First, follow suggested Pyenv build environment

then...

git clone https://github.com/yyuu/pyenv /opt/sickgear/.pyenv

Install the desired python version

PYENV_ROOT=/opt/sickgear/.pyenv /opt/sickgear/.pyenv/bin/pyenv install 3.9.13

Note: a systemd file must be edited with the path to the pyenv Python
^^^^^

Install SickGear dependencies

cd /opt/sickgear  
/opt/sickgear/.pyenv/versions/3.9.13/bin/pip install -r requirements.txt  
/opt/sickgear/.pyenv/versions/3.9.13/bin/pip install -r recommended.txt  

Start SickGear

/opt/sickgear/.pyenv/versions/3.9.13/bin/python /opt/sickgear/sickgear.py

(Note: python3 users must explicitly specify <path_to>/python3 binary to run SickGear)

You should be able to access SickGear at http://localhost:8081.

If you want SickGear to start at boot.

sudo cp /opt/sickgear/init-scripts/init.fedora /etc/init.d/sickgear

then,

echo "PYTHON_BIN=/opt/sickgear/.pyenv/versions/3.9.13/bin/python" | sudo tee /etc/default/sickgear
echo "RUN_AS=user1" | sudo tee -a /etc/default/sickgear
update-rc.d sickgear defaults

Now make sure SickGear isn't running and start the service.

Run the service

sudo service SickGear start

All done, you can access SickGear at http://localhost:8081


Method 2: Install using Snap

  1. Install Snap...

    • sudo dnf install snapd

    • sudo ln -s /var/lib/snapd/snap /snap

      Either log out and back in again, or restart your system, to ensure snap's paths are updated.

  2. Install SickGear (you must sudo)...

    • sudo snap install sickgear
    • sudo /snap/bin/sickgear (use which sickgear to find path, e.g. /snap/bin/sickgear)

SickGear will exit with a data directory write permission fail message if you do not use sudo

All done, you can access SickGear at http://localhost:8081


Clone this wiki locally