Sunday, 29 July 2012

Centos 6/RHEL install Deluge Bittorrent client from repo

Deluge installation from repo.

Deluge is a full-featured cross platform  BitTorrent client created in Python. It makes use of libtorrent and features multiple user-interfaces including: GTK+, web and console

Deluge features a rich plugin collection providing much of its  functionality and is made freely available at although compiling from source is probably not the easiest way for the average user to obtain it.

It has the facility to be used on separate machines in client/server mode also, which is useful.

Deluge and Preferences box

It will work with multiple Desktops including, but not restricted to, GNOME, KDE, XFCE, FLUXBOX and others.

It has a large array of features as below

Core/UI split allowing Deluge to run as a daemon
Connect remotely to the Deluge daemon
Web UI
Console UI
BitTorrent Protocol Encryption
Mainline DHT
Local Peer Discovery (aka LSD)
FAST protocol extension
╬╝Torrent Peer Exchange
Proxy support
Web seed
Private Torrents
Global and per-torrent speed limits
Configurable bandwidth scheduler
Password protection
RSS (via Plugin)
Other  libtorrent feature

It has quite a number of dependencies, making it not such a great candidate for a quick compile and install from source, although you are welcome to try if you have a lot of spare time.

Fortunately, the guys at nux-dextop have seen fit to compile a nicely working rpm for Centos 6/RHEL,and this is how I'd recommend installing Deluge.

Make sure Epel repo is enabled also as GeoIP is needed from it

To obtain nux-dextop first install wget if not installed.

$sudo yum -y install wget                           




for the repo pack       

$sudo rpm -Uvh nux-dextop-release-0-1.el6.nux.noarch.rpm

to install it.

$sudo vi /etc/yum.repos.d/nux-dextop.repo   

set 'enabled' to '0'

$sudo yum -y --enablerepo=nux-dextop install deluge

After installing a few python packages you are set to go  

To run it just type


See Fluxbox key bindings for more. 


To have it autostart when rebooting (in Fluxbox)

$sudo vi /etc/X11/xinit/xinitrc             add the line

startfluxbox                                save it, then

$vi /home/<user_name>/.fluxbox/startup      add the line

/usr/bin/deluge &                        (with ampersand)

Just before the 'exec fluxbox' line         

If you check 'start in tray' in preferences it will autostart

already in your tray.

Other desktop users can check here

Set it up to open torrent files by default in your browser settings. Typically, when downloading a file in Firefox, just select the 'Open with Deluge' option which should appear. If you do download the torrent file then right click on it and do the same.

Go into preferences where you can set up port forwarding and adjust many other settings to ensure optimum performance of the program.

So this is the simple way to obtain Deluge thanks to the people at nux-dextop.