Installing a torrent client on OSMC

A torrent client can be installed via OSMC’s App Store. OSMC includes the Transmission torrent client and this has been specially optimised for use on OSMC. You can learn more about installing applications via the OSMC App Store here

1 Like

Compile & Install Deluge on OSMC

Depending on the version available in the repository, you can always compile it yourself, it takes just a few minutes:

sudo apt-get install python python-twisted python-twisted-web python-openssl \
python-simplejson python-setuptools intltool python-xdg python-chardet \
geoip-database python-libtorrent python-notify python-pygame python-glade2 \
librsvg2-common xdg-utils python-mako bzip2 -y

cd ~/
mkdir deluge
cd deluge
wget http://download.deluge-torrent.org/source/deluge-1.3.11.tar.bz2
tar xvf deluge-1.3.11.tar.bz2
cd deluge-1.3.11
python setup.py clean -a #may look like error message, is not, nothing to worry$
python setup.py build
sudo python setup.py install
sudo python setup.py install_data
cd ~/
sudo rm -rf deluge/

after it finishes, start deluge with

deluged

give it a few seconds, stop it:

sudo pkill deluged

the above is needed to generate the initial config file, which we will modify to grant access to the osmc user:

cp ~/.config/deluge/auth ~/.config/deluge/auth.old
nano ~/.config/deluge/auth

add the line:

osmc:osmc:10

at the end of the file and save with ctrl+x

to allow remote access, run also these commands:

deluged
deluge-console
config -s allow_remote True
config allow_remote
exit

with deluge already runing, to start the web interface in the background run:

deluge-web --fork

at any point you can kill all with

sudo pkill deluge

The instructions above were 99% inspired from the onepitwopi.com website, I only added bzip2 in the initial install, bumped the version to 1.3.11 and changed the user from pi to osmc.

Thanks to @cocomic for putting together this guide!

1 Like

Hi Katze

I think this may be better served in a HOW-TO. You could also look at converting this to an OSMC App instead.

Sam

1 Like

I wish I knew how to make it into an OSMC App, but I’ll get it moved to a How-To next time I’m at the PC.

I have removed this from General. The plan is to have our own ‘App’ section on the web page soon enough.

Sam

I’ve put it into a HowTo here: [HowTo] Compile & Install Deluge on OSMC

Feel free to clean up this thread if you like.

For the record, this How to is more recent and easier to follow as it installs from binaries [How To] Always on, remotely accessible torrent server