Tuesday, August 28, 2012

Centos 6/RHEL install Deluge Bittorrent client 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

http://deluge-torrent.org/ although compiling from source is probably not the easiest way for the average user to obtain it.

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
GTK+ UI
BitTorrent Protocol Encryption
Mainline DHT
Local Peer Discovery (aka LSD)
FAST protocol extension
Ī¼Torrent Peer Exchange
UPnP and NAT-PMP
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 dependendies, 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.

To obtain the repo first install wget if not installed.

$sudo yum -y install wget                           

$wget http://li.nux.ro/download/nux/dextop/el6/i386/nux-dextop-release-0-1.el6.nux.noarch.rpm

or

$wget http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-1.el6.nux.noarch.rpm

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

$deluge

Autostart

To have it autostart when rebooting (in Fluxbox)

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

startfluxbox                                save it, then

$vi /home//.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 nux-dextop guys.

2 comments:

Unknown said...

Nice... works fine, but not what I need... this just gives the client.... any idea how I go about installing it to run headless so I can access it via web-ui? Ineed a setup guide similar to this: "http://totallynoob.com/deluge-torrent-server-seedbox-ubuntu-headless" pls can u help mate?

Unknown said...

thank you, helped me a lot! :) i just start using RH based linux the first time since '99 or so and its kinda different to debian based systems.

How to use DiskSpd to simulate Veeam Backup & Replication disk actions

This HOW-TO contains information on how to use Microsoft© DiskSpd to simulate Veeam Backup & Replication disk actions to measure disk pe...