Version 2 (modified by andar, 12 years ago) (diff)

--

Installing Deluge From Source

  1. Download Source
  2. Dependencies
  3. Building and Installing
  4. Removing From System

Download Source

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

Dependencies

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.

Core:
  python >= 2.5
  boost >= 1.34.1
  openssl
  zlib
  twisted
  twisted-web
  pyopenssl
  simplejson (if python < 2.6)
  setuptools
  gettext

Gtk:
  dbus-python
  python-notify (libnotify python wrapper)
  pygame
  pygtk >= 2.10
  librsvg
  chardet

Web:
  mako

Building and Installing

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

python setup.py clean -a

Now the build:

python setup.py build

And finally, install the package to your system:

sudo python setup.py install

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.

Example:

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.