Transmission on Ubuntu Server 14.04 with Flexget – Python error fix included!

First, let’s install Transmission and set up some directories – issue these commands (remember to substitute user with your desired username that runs transmission)

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:transmissionbt/ppa
sudo apt-get update
sudo apt-get install transmission-cli transmission-common transmission-daemon

mkdir ~/Downloads
mkdir ~/Downloads/Completed
mkdir ~/Downloads/Incomplete
mkdir ~/Downloads/Torrents

sudo usermod -a -G debian-transmission user
sudo chgrp -R debian-transmission /home/user/Downloads
sudo chmod -R 775 /home/user/Downloads
sudo /etc/init.d/transmission-daemon stop
sudo nano /etc/transmission-daemon/settings.json

"download-dir": "/home/user/Downloads/Complete",
"incomplete-dir": "/home/user/Downloads/Incomplete",
"incomplete-dir-enabled": true,
"rpc-authentication-required": false,
"rpc-whitelist-enabled": false,
"watch-dir": "/home/user/Downloads/Torrents",
"watch-dir-enabled": true

sudo /etc/init.d/transmission-daemon start

Now, on to installing FlexGet – first, let’s check which Python we have:

python -V

If this returns something inferior to 2.7 then we must upgrade using:

sudo apt-get install python2.7

Other than that, let’s install FlexGet

sudo apt-get install python-pip
pip install flexget
pip install --upgrade six>=1.70
pip install transmissionrpc

And done!

Reblogged for maximum viewing convenience from these sources: Ricky Ford, FlexGet website

 


Thanks for reading! Please consider Buying me a Coffee or checking out Colibri!