You are on page 1of 2

5/19/2020 FlexGet

Linux/BSD
Prerequisites
Python
Supported versions of Python:

3.6, 3.7
3.8 (untested, but should work)

You can check your installed version of Python with this command:

python -V

It’s also worth trying python3 and/or hitting tab for autocomplete in case you already have python 3
installed, which is often the case.

Example of installation in a Debian-based system:

sudo apt-get install python3.5

Create virtualenv
Python virtualenvs provide isolated python runtime. It does not mess with your operating system and can
be easily deleted and recreated if needed.

Python 3
Python3 ships with virtualenv. Simply run:

python3 -m venv ~/flexget/

Install FlexGet in the virtualenv


cd ~/flexget/
bin/pip install flexget

This will install FlexGet and all of it’s dependencies.

Running FlexGet from the virtualenv


The virtualenv can be activated with this command:

https://flexget.com/InstallWizard/Linux 1/2
5/19/2020 FlexGet

source ~/flexget/bin/activate

After activation, the command flexget will work from anywhere. Note that activation does not persist
over to new shell sessions.

Alternatively you can use following command without activating virtualenv .

~/flexget/bin/flexget [options]

You will need to use this form if you use crontab to schedule FlexGet executions.

Alternatively - Install globally


Not generally recommended. Global install for all users can be achieved with the following command. This
requires pip to be available for root.

sudo pip install flexget

This usually works ne, but in some cases you may run into issues if multiple Python packages request
different versions of libraries. virtualenv does not suffer from this issue and is the recommended
method for new users.

Next Step
Continue to Scheduling (/InstallWizard/Linux/Scheduling).

https://flexget.com/InstallWizard/Linux 2/2

You might also like