dlin Asked: 2012-02-05 01:35:15 +0800 CST2012-02-05 01:35:15 +0800 CST 2012-02-05 01:35:15 +0800 CST How do I Install GTK+ 3.0? 772 How can I install GTK+ 3.0 and use that instead of GTK+ 2.24? gtk gtk3 3 Answers Voted Thomio 2013-01-16T15:49:35+08:002013-01-16T15:49:35+08:00 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: sudo apt-get install libgtk-3-dev Best Answer Timo 2012-02-05T02:48:22+08:002012-02-05T02:48:22+08:00 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. Farshad Bakhshandegan Moghadda 2020-08-25T02:45:47+08:002020-08-25T02:45:47+08:00 If you already have an older version of GTK and you want to upgrade it then you can do the following: sudo add-apt-repository ppa:gnome3-team/gnome3-staging sudo add-apt-repository ppa:gnome3-team/gnome3 sudo apt update sudo apt dist-upgrade
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:
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.
If you already have an older version of GTK and you want to upgrade it then you can do the following: