Deluge on windows


Due to lack of time and to the fact I don’t have a windows machine to test anymore (viva linux!), I’m not maintaining the windows version of Deluge anymore. However, the nice folks at Deluge torrent (the originals authors) are now doing it. I’ve now moved onto different projects. But working with Deluge was a great time!


I am not the author of deluge, I am just the one that ported it to windows. If you like this client, this mainly because of the great work of its original authors. I would like to thank markybob, andar, zachtib and the others for their great work. Hopefully they will host the port when it becomes more stable. If you like the WebUI plugin, this is due to the awesome work done by vonck7 (screenshot courtesy of him). Also, deluge use libtorrent and its author has provided me with valuable help getting things working on windows. Thanks hydri!
The installer has been created with a modified script from pidgin sources. So, credit where is due, thank you pidgin!
At last, I would like to give credit to all the open sources projects used in this work, look below to see the list. This is incredible what you can do with the help of others. Open source at its best.
Of course, I give a thank you to all users that are testing this client to make it work for others.

Download the installer!

You can now download the installer from the official website.
Download the latest version.
How to upgrade : Just run the new installer and the old version will be upgraded.
Known problems:

  • Language selected is not the good one. If you want to change you language, open a console in the deluge folder, type “set lang=en” without "" and then “deluge.exe”.
  • First, you may want to check the tickets for deluge, the problem might be known in deluge and not only deluge for windows. If your problem is there, you can use the trac facilities to provide useful information (if you have it).
  • You can also join the #deluge channel on
  • There is also a deluge windows forum available

Changelog (not updated anymore)


  • Many bugfixes.
  • Added –config <config_folder>switch to specify folder.</config_folder>
  • Corrected location of log files.

  • Other fixes for persistent state.

  • BugFixes for 0.5.6
  • Some changes for handling persistent.state. Should reduce the number of runtime errors.

0.5.6: First “stable” release.
Build 22 (alpha 22):

  • Many bugfixes

Alpha 21:

  • Many, many bugfixes
  • Port lost problem is now solved
  • Interface should be fully translated in your language if supported

Alpha 18:

  • Added i8n for some installer options
  • Another port dropping solution

Alpha 17:

  • Support for run with windows and associate with Deluge
  • Many bugfixes
  • Port dropping should be gone

Alpha 16:

  • Fix for icon on Vista

Alpha 15:

  • Fix the crash in 5 minutes that many people are experiencing
  • WebUI is now in sync with deluge svn (rev80)

Alpha 14:

  • Removed the MessageBox when quitting deluge. Now two files are created intstead : deluge.stdout.log and deluge.stderr.log
  • Many bugfixes
  • Error with “~\” should be gone, please report if otherwise
  • Brand new WebUI plugin, allows you to control deluge from the web. Just point your browser to htt://localhost:8112/ after enabling plugin and setting a password. Sometimes a deluge restart may be necessary for password to be taken into account.

Alpha 13:

  • Many bugfixes

Alpha 12:

  • New, nice theme
  • Drag&Drop should work
  • Open Url should fill dialog box if Url is in clipboard
  • Many fixes

The following is for developers only! Don’t follow any of these instructions if you are a user!

Grab svn snapshot

First step is to get a current snapshot of deluge svn.
For example if you have svn installed:
svn checkout deluge
or the same with RapidSVN.
The folder in which the deluge svn is located will be referred as [delugeroot]

Prerequisites for compiling

If you want to hack into deluge on windows, you will have to install the source code.
Here are the prerequisites:


This is pretty obvious. Get python from and install it on your system. This guide has been tested with python 2.5.

Mingw with gcc4

Instead of downloading the official distribution and then patch to gcc4, it is much better to get from

Dependencies & scripts

Instead of compiling dependencies by hand, just grab the file named win32.7z below and unzip it in [delugeroot]. You should have win32, lib subfolders as well as some .bat. The svn contains the last which is compatible with this package.

Boost headers

If you did not get Mingw with gcc4 the proposed way, you don’t have the boost headers. Grab boost from and unzip it in [delugeroot]\win32. Rename the folder named boost_version to boost.
You should have [delugeroot]\win32\boost(boost folders, project-root.jam file)

Compiling & Installing

You can compile deluge by invoking the build.bat in win32 (recommened!) script or by typing:

python build -c mingw32

Everything should build without errors.
To install, invoke install.bat in win32 (recommened!) or type:

python install --skip-build

Copy the deluge script from the script folder to the [delugeroot]\win32\run folder
Copy the deps (dlls…) as needed (i told you to use install.bat).

Prerequisites for running


You can get GTK+ from…
Get gtk-runtime-2.10.13-rev-a.exe or any newer version and install it.

Pygtk, Pygobect, Pycairo

You can get them from
Install them, they will put themselves in the correct python folder.


You can get it from
Untar the tarball and copy the xdg folder into [pythonrootfolder]\lib , e.g.
C:\Program Files\Python25\Lib\xdg or C:\Python25\Lib\xdg


Copy the [delugeroot]\win32\libglade folder to the [gtkrootfolder], so that the dlls are next the gtk ones.
Usually this is C:\Program Files\Common Files\GTK\2.0 but may vary following locale.


You can get it from
Untar the tarball and copy the dbus folder into [pythonrootfolder]\lib , e.g.
C:\Program Files\Python25\Lib\dbus or C:\Python25\Lib\dbus
You will then need the python bindings. You can get them precompiled from the win32.7z package below.
Extract the two .pyd into [pythonroot]\lib.


Go to [delugeroot]\win32\run folder, and open a console.
You can now invoke deluge by typing:

python deluge

dbus daemon should start along with deluge.


You will NSIS and py2exe for this to work.
In the [delugeroot]\win32\run folder, run dist.bat or type:

python -OO py2exe

This will create a [delugeroot]\win32\dist folder with everything inside it. The deluge.exe should work.
Go to [delugeroot]\win32\ and run deluge-installer.nsi from nsis. Done!

If you encounter any error, please contact me.


First (and old) windows port of deluge torrent to windows







Release date