Version 15 (modified by Cas, 13 years ago) (diff)

add ubuntu specific install

Installing Deluge From Source

  1. Download Source
    1. Dependencies
    2. Debian/Ubuntu? Dependencies
  2. Building and Installing
    1. Developer Install
  3. Removing From System

Download Source

You can either get the source from a tarball on our ftp or from our GitRepo.


Deluge has a number of dependencies that are required for it to run properly. Most of them are runtime only deps, but a few are required for successfully building Deluge.

Along with the following packages, you will also need to install the appropriate build tools provided by your OS.

No node DEPENDS at revision 7f3f7f69ee78610e95bea07d99f699e9310c4e08

Debian/Ubuntu? Dependencies

Apt-get line to install all above dependencies:

sudo apt-get install python python-twisted python-twisted-web2 python-openssl python-simplejson python-setuptools gettext python-xdg python-chardet python-geoip python-libtorrent python-notify python-pygame python-gtk2 python-gtk2-dev librsvg2-dev xdg-utils python-mako 

Building and Installing

The first step you should do is make sure you have a clean build environment.

python clean -a

Now the build:

python build

And finally, install the package to your system:

sudo python install

If you are using Ubuntu you will need to use this command instead:

sudo python install --install-layout=deb

Developer Install

This will create a Deluge install in ~/delugeDev but will link back to the source code directory so changes you make will be reflected immediately without having to install again.

export PYTHONPATH=${HOME}/delugeDev
python develop --install-dir ~/delugeDev

Removing From System

In the unlikely event you want to remove a copy of Deluge installed by the previous method, you will have to manually delete the Deluge related files on your system. For the most part you can simply delete deluge related files in your site-packages folder.


sudo rm -r /usr/lib/python2.5/site-packages/deluge*

There will still be some files located in /usr/share that you can hunt down and delete if you wish to.