Guide for centos

General support for problems installing or using Deluge
Tom22
Member
Member
Posts: 16
Joined: Sun Apr 18, 2010 6:49 pm

Guide for centos

Post by Tom22 »

Can someone give me a detailed guide on how to install on cent os 32 bit? I'm just trying to do the webui.

I've tried debian and unbuntu but I believe my host has removed deluge from the sources because i always get a deluge package not found. But if someone can give me a detailed step by step guide that would be great. Thanks in advance.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Guide for centos

Post by Cas »

Tom22 wrote:Can someone give me a detailed guide on how to install on cent os 32 bit? I'm just trying to do the webui.
I am not sure how many people here use CentOS, so if there are no packages then you will need to install from source. It is not too difficult just requires the correct libraries and build packages installed. See the source install guide for details.

Tom22 wrote:I've tried debian and unbuntu but I believe my host has removed deluge from the sources because i always get a deluge package not found.
Sorry I have no idea what you are trying to say here.
Tom22
Member
Member
Posts: 16
Joined: Sun Apr 18, 2010 6:49 pm

Re: Guide for centos

Post by Tom22 »

When I try to install deluge on unbuntu with the command "apt-get install deluge" or deluge-torrent I get a "package not found" error :(

Could you write a guide on how to install it from source for noobs? I don't really understand that one you gave me very well :(
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Guide for centos

Post by Cas »

it is easy on ubuntu karmic/lucid

Code: Select all

sudo add-apt-repository ppa:deluge-team/ppa
sudo apt-get update
sudo apt-get install deluge
Tom22
Member
Member
Posts: 16
Joined: Sun Apr 18, 2010 6:49 pm

Re: Guide for centos

Post by Tom22 »

root@server:~# sudo add-apt-repository ppa:deluge-team/ppa
sudo: add-apt-repository: command not found

Nvm I got passed that by just doing the other two commands but now i get this error

Code: Select all

root@server:~# deluge
/var/lib/python-support/python2.6/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
1.1.6
/var/lib/python-support/python2.6/deluge/ui/gtkui/queuedtorrents.py:60: Warning: invalid (NULL) pointer instance
  "glade/queuedtorrents.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/queuedtorrents.py:60: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  "glade/queuedtorrents.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/queuedtorrents.py:60: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/queuedtorrents.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/queuedtorrents.py:60: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  "glade/queuedtorrents.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/queuedtorrents.py:60: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  "glade/queuedtorrents.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/queuedtorrents.py:76: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  gtk.TreeViewColumn(_("Torrent"), gtk.CellRendererText(), text=0))
/var/lib/python-support/python2.6/deluge/ui/gtkui/queuedtorrents.py:76: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  gtk.TreeViewColumn(_("Torrent"), gtk.CellRendererText(), text=0))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: Warning: invalid (NULL) pointer instance
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gdk_display_get_window_at_pointer: assertion `GDK_IS_DISPLAY (display)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_new: assertion `context != NULL' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: Invalid icon size 1

  "glade/main_window.glade"))
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  "glade/main_window.glade"))
Segmentation fault
how do i fix this?
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Guide for centos

Post by Cas »

Tom22 wrote:sudo add-apt-repository ppa:deluge-team/ppa
sudo: add-apt-repository: command not found
This simply means you will need to install the command:

Code: Select all

sudo apt-get install add-apt-repository
what version of ubuntu are you using?

are you trying to run deluge on a server without a graphical interface?
Tom22
Member
Member
Posts: 16
Joined: Sun Apr 18, 2010 6:49 pm

Re: Guide for centos

Post by Tom22 »

ubuntu-9.04-x86 is what im running

Code: Select all

root@server:~# sudo apt-get install add-apt-repository
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package add-apt-repository
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Guide for centos

Post by Cas »

Unfortunately it is not as simply on Jaunty (9.04) as Karmic or Lucid so you need to follow this to add the PPA:

Open Synaptic Package Manager and goto Setttings->Repositories->Other Software->Add and paste this line in:

Code: Select all

deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu jaunty main
Add the PPAs GPG key in the console:

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 249AD24C
Then update repos and upgrade deluge:

Code: Select all

sudo apt-get update
sudo apt-get install deluge
Note that you can install the Karmic version of add-apt-repository to Jaunty as described in this post: http://ubuntuforums.org/showpost.php?p= ... ostcount=4
Tom22
Member
Member
Posts: 16
Joined: Sun Apr 18, 2010 6:49 pm

Re: Guide for centos

Post by Tom22 »

How to I view the settings? I'm doing this all via putty, also im using 9.10 now and i get the same error as I did before with the repositorys.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Guide for centos

Post by Cas »

Code: Select all

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:deluge-team/ppa
sudo apt-get update
sudo apt-get install deluge
This will work on 9.10.

If you are working without a graphical interface then trying to run deluge (same as deluge-gtk) will not work as that is the graphical interface. you will need to install the server and alternative interfaces from the repository:

Code: Select all

sudo apt-get install deluged
sudo apt-get install deluge-console
sudo apt-get install deluge-web
See here for more info http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient
Post Reply