Version 4 (modified by phik, 11 years ago) (diff)

Added method using apt-pinning from sid

Debian Squeeze

If you require a newer version of deluge than what is available in the squeeze repos, you can install the newest version in the unstable distribution (sid)

First add sid to your /etc/apt/sources.list

deb http://ftp.us.debian.org/debian unstable main
deb-src http://ftp.us.debian.org/debian unstable main

(use your local country mirror, eg ftp.uk.debian.org, ftp.fr.debian.org etc.)

Next we set the priority for each distribution, so that only packages you specify are from sid, not your whole system.

In /etc/apt/preferences

 Package: *
 Pin: release o=Debian,a=squeeze
 Pin-Priority: 900

 Package: *
 Pin: release o=Debian,a=unstable
 Pin-Priority: 300

 Package: *
 Pin: release o=Debian
 Pin-Priority: -1

Update your packages list

aptitude update

Now install the version of deluge available in unstable

aptitude -t unstable install deluge

Launchpad PPA

An alternative to installing deluge from Sid, involves using a Launchpad PPA for Ubuntu Lucid.

That release is old enough as to not get any nasty unmet dependencies when those packages are installed on Squeeze.

This method does not work for Lenny, it depends on a package that doesn't exist in Lenny yet, see Installing/Linux/Debian/Lenny as how this can be done.

First, lets add the PPA to your /etc/apt/sources.list:

deb http://ppa.launchpad.net/ferramroberto/linuxfreedomlucid/ubuntu lucid main 
deb-src http://ppa.launchpad.net/ferramroberto/linuxfreedomlucid/ubuntu lucid main

Then, lets fetch and add the GPG key for that repository in order to be able to verify the downloaded packages (the following command needs to be done as privileged user so either su or sudo).

apt-key adv --recv-keys --keyserver pgp.surfnet.nl 249AD24C

Refresh apt:

apt-get update

Now all that is left to do is install deluge, for example:

apt-get install -t lucid deluge-common deluged deluge-web