Sunday, November 15, 2009

Deluge 1.2 on Ubuntu Hardy

Torrent clients are must-have applications nowadays. There are dozens of clients around, but the average user will look for a simple yet fast and intuitive one.

As a Window user I’m a fan of uTorrent, which is well known by its quality and simplicity. Unfortunately, when it comes to Linux, there’s no uTorrent. After following some discussions between torrent clients for Ubuntu1, I finally decided going to Deluge. It’s said to be fast, simple, good-looking and comes with a web interface.

Those who read previous articles may have noticed I’m building a minimal server system using Ubuntu Hardy (8.04) and Deluge characteristics were about the requirements I had in mind, principally the web-interface for controlling it remotely.

So I went straight to the shell and apt-get install deluge… What?? it doesn’t exist?
A little search through packages.ubuntu.com revealed it’s been only available from Ubuntu Jaunty afterwards.
Further looking into Deluge doc, I could find they provide it via a third party repository, at launchpad:

deb http://ppa.launchpad.net/deluge-team/ubuntu <distribution> main universe

working for distribution feisty, gutsy, hardy, intrepid or jaunty. Good! :)

The steps are:

  1. Add the line to /etc/apt/sources.list, replacing <distribution> with hardy or one of the other dists.
  2. apt-get update. An error will raise saying some “signatures couldn't be verified”. Please copy the key at the end of this line to be used in the next step2
  3. Add the key to apt with the command:
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <key_here>
  4. apt-get update. Now everything should go fine.
  5. Now the nice command. apt-get install deluge

You may prefer to install just the daemon and then the web interface. Go for the deluge-core and deluge-web packages.

It’s also a good idea to create a rc startup script so deluge starts automatically at system startup. Luckily someone already thought about that. Give a look at:http://dev.deluge-torrent.info/wiki/UserGuide/InitScript

And that’s it!

1- http://ubuntuforums.org/showthread.php?t=213713

2- https://help.launchpad.net/Packaging/PPA/InstallingSoftware

No comments:

Post a Comment