How to install Deluge on Centos?
Solution 1
I'd suggest updating both Python and Deluge. Deluge is now on version 1.2.0, miles ahead of 0.5.8.6. I have Deluge (latest) running with Python 2.6.4 smoothly.
Not only does it appear your version is looking for Python 2.4, but it also wants to open a display. Ensure you are using proper command-line arguments for console mode as David outlined. You must first start the daemon before connecting via console. See the Deluge FAQ on the console and daemon.
Solution 2
Upgrade Python. It's looking for version 2.4.
Incidentally, if you have no X-windows then you'll be better off trying rtorrent - a CLI bittorrent client.
Related videos on Youtube
Dan Forbes
Updated on September 17, 2022Comments
-
Dan Forbes over 1 year
I have a problem with installing & running Deluge torrent on my Centos 5 (x86) . I get it from http://dag.wieers.com/rpm/packages/deluge/ this: _http://dag.wieers.com/rpm/packages/deluge/deluge-0.5.8.6-1.el5.rf.i386.rpm
after installing, when I run deluge I get this problem:
Traceback (most recent call last): File "/usr/bin/deluge", line 43, in ? import deluge File "/usr/lib/python2.4/site-packages/deluge/__init__.py", line 36, in ? import gtk.glade File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 76, in ? _init() File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 64, in _init _gtk.init_check() RuntimeError: could not open display
No way root I am or user. Same thing. Python version is 2.4.3 . This is server & no X-windows installed on it.
Thanks for help.
-
Dan Forbes over 14 yearsI just want to install deluge-core, deluge-webui, deluge-console.
-
-
Dan Forbes over 14 yearsSame thing. Even deluge --version displays that error message. Thanks for reply.
-
David Antaramian over 14 yearsThe readme seems to provide some different options. dev.deluge-torrent.org/browser/trunk/README It may be that deluge was linked to deluge-gtk by the RPM. You can try the following options: deluge-console, deluge-web. Or to just start the daemon, deluged. You can look at the README for further info.
-
Dan Forbes over 14 yearsSorry, I had a mistake. Python's version is 2.4.3. Thank's, but I need only deluge or ktorrent.