Академический Документы
Профессиональный Документы
Культура Документы
How do I Install GTK+ 3.0?
How can I install GTK+ 3.0 on Ubuntu 11.10 and use that instead of
GTK+ 2.24?
11.10 gtk
3 Answers
GTK3 is installed by default, please don't download and compile from the GTK website.
If you want to use GTK3 yourself, compile against that instead GTK2, or use PyGObject
instead of PyGTK if you're using Python.
If you want all programs to use GTK3 instead of GTK2, it won't work, it's a job for the
application developers to port their application.
How can it be installed by default when i enter the command: dpkg -l libgtk[0-9]* | grep ^i and i get that im using
GTK 2.24? Rrj Feb 4 '12 at 11:33
The package name changed a bit, try this: dpkg -l libgtk-[0-9]* | grep ^i Timo Feb 4 '12 at 11:49
Also note that GTK2 and GTK3 are parellel installable. So it's not that you are using one or the other, it's the
applications that choose which version. Timo Feb 4 '12 at 11:51
Thanks for your help,i can see that some of ubuntu apps (like gedit or epiphany) use GTK+3 from their design and
new styling.But in my anjuta app i have chosen GTK+ 3.0 and i still see the old GTK+ 2 style and i dont see any errors
in the code(since 3 has replaced some methods) What is happening? Rrj Feb 4 '12 at 12:56
@Nick if you have questions about specic apps, it would be better to ask a new question. We wouldn't want useful
information to get lost in the comments. :) Michael Martin-Smucker Feb 5 '12 at 0:24
To use gtk2 or gtk3 apps you don't need to install anything. But, if you want to develop (or
even just compile) apps this is what you're looking for:
Read this
http://www.gtk.org/download/linux.php