starting with GTK+ on Ubuntu

apt-get, gtk, qt, ubuntu

Solution

You can install two different versions (2.24.10, 3.4.1) of GTK+ on Ubuntu (precise).

sudo apt-get install libgtk2.0-dev
sudo apt-get install libgtk-3-dev

Examples and demo application can be installed by the following commands

sudo apt-get install gtk2.0-examples
sudo apt-get install gtk-3-examples

There is no IDE like QtCreator in case of Qt, but there is a user interface builder named Glade.

sudo apt-get install glade

Problem

I am just beginning with GTK+. I have an Ubuntu 11.04. How should I install the GTK and which stable version? The GTK website offers packages for download. However there are 4 other supporting packages. I was wondering if I can us sudo apt-get or synaptic to download them. When I typed GTK on Synaptic there is a long list though. Please suggest a stable GTK version available for download using sudo apt-get. Also, what IDE should I use for development and simulation? I have been programming with Qt till now which had the QtCreator, QtDesigner for this purpose. My Application has to now be ported on GTK. I googled to find out no translator engine for Qt to GTK. Did any of you have this experience? Thanks

Original source

Related problems