# Trying to install ruby-gtk2 on ubuntu 9.10

**URL:** <https://www.ruby-forum.com/t/trying-to-install-ruby-gtk2-on-ubuntu-9-10/188741>\
**Category:** Ruby\
**Created:** [May 17, 2010, 5:31pm UTC](https://www.ruby-forum.com/t/trying-to-install-ruby-gtk2-on-ubuntu-9-10/188741 "2010-05-17T17:31:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michel\_Revesche](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@Michel\_Revesche](https://www.ruby-forum.com/u/Michel_Revesche)\
**Post date:** [May 17, 2010, 5:31pm UTC](https://www.ruby-forum.com/t/trying-to-install-ruby-gtk2-on-ubuntu-9-10/188741/1 "2010-05-17T17:31:44Z")

</div>

I didn’t find the gtk2 library on the ubuntu repositories and searching  
with  
google was not successful. So I downloaded the source code on  
sourceforge and  
tried to compile. The first step of the process : ruby extconf.rb output  
an  
empty file because gobject-2.0, gdk-pixbuf-2.0, pango, atk, gthread-2.0,  
gtk±2.0 were not found. Perhaps, compiling gtk would solve this  
problem, and  
probably bring others. So, please help.

Best,  
Michel

---

<div class="post-metadata">

**Author:** ![Michel\_Revesche](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@Michel\_Revesche](https://www.ruby-forum.com/u/Michel_Revesche)\
**Post date:** [May 17, 2010, 6:20pm UTC](https://www.ruby-forum.com/t/trying-to-install-ruby-gtk2-on-ubuntu-9-10/188741/2 "2010-05-17T18:20:24Z")

</div>

Michel Revesche wrote:

> I didn’t find the gtk2 library on the ubuntu repositories and searching  
> with  
> google was not successful. So I downloaded the source code on  
> sourceforge and  
> tried to compile. The first step of the process : ruby extconf.rb output  
> an  
> empty file because gobject-2.0, gdk-pixbuf-2.0, pango, atk, gthread-2.0,  
> gtk±2.0 were not found. Perhaps, compiling gtk would solve this  
> problem, and  
> probably bring others. So, please help.
> 
> Best,  
> Michel

Have you already tried the package ruby-gnome2 ?

---

<div class="post-metadata">

**Author:** ![Michel\_Revesche](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@Michel\_Revesche](https://www.ruby-forum.com/u/Michel_Revesche)\
**Post date:** [May 17, 2010, 6:27pm UTC](https://www.ruby-forum.com/t/trying-to-install-ruby-gtk2-on-ubuntu-9-10/188741/3 "2010-05-17T18:27:56Z")

</div>

On May 17, 2010, at 9:30 AM 5/17/10, Michel Revesche wrote:

> 

[http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+for+Ubuntu](http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+for+Ubuntu)

apt-cache search ruby-gnome2 will get you what you need, it appears.

---

<div class="post-metadata">

**Author:** ![Michel\_Revesche](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@Michel\_Revesche](https://www.ruby-forum.com/u/Michel_Revesche)\
**Post date:** [May 17, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/trying-to-install-ruby-gtk2-on-ubuntu-9-10/188741/4 "2010-05-17T18:30:59Z")

</div>

James H.on wrote:

> On May 17, 2010, at 9:30 AM 5/17/10, Michel Revesche wrote:
> 
> > 
> 
> [http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+for+Ubuntu](http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+for+Ubuntu)
> 
> apt-cache search ruby-gnome2 will get you what you need, it appears.

Not quite. It will only list the packages containing the string  
“ruby-gnome2”. To install, one can either use the GUI (Synaptic) or the  
command “sudo apt-get install ruby-gnome2” (without the quotes  
obviously).

---

<div class="post-metadata">

**Author:** ![Michel\_Revesche](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@Michel\_Revesche](https://www.ruby-forum.com/u/Michel_Revesche)\
**Post date:** [May 18, 2010, 9:03am UTC](https://www.ruby-forum.com/t/trying-to-install-ruby-gtk2-on-ubuntu-9-10/188741/5 "2010-05-18T09:03:34Z")

</div>

> > apt-cache search ruby-gnome2 will get you what you need, it appears.
> 
> Not quite. It will only list the packages containing the string  
> “ruby-gnome2”. To install, one can either use the GUI (Synaptic) or the  
> command “sudo apt-get install ruby-gnome2” (without the quotes  
> obviously).

Thanks for your help.  
But this process is designed for Ubuntu 9.04 and formerly I did install  
ruby-  
gtk2 with this version on an another computer with no difficulties. I  
tried it  
on ubuntu 9.10 and got many dependencies not satisfied such as  
libgnome2-ruby,  
libglade2-ruby, libgtkhtml2-ruby,…
