Installing GTK
I want to install GTK as I want to learn about GUI programming, and also implement GUI into a few programs of my own. I am completely capable of install GTK from source if I really wanted to, but I would rather just apt-get it, and save some time. I have looked through synaptic, and nothing has caught my attention; though I may have missed something. If that is true, then I am sorry for posting this, otherwise, what package should I apt-get?
|
GTK will already be installed on your system, as it is a critical system component if you are using graphical applications on the machine.
|
Quote:
Code:
/usr/include$ ls I do however have these directories: Code:
/usr/lib$ echo gtk* |
Strange, it must be an Ubuntu-specific thing then. On my Slackware machine, the GTK header files are included with the binary packages.
Code:
tj@T-Bird:/usr/lib$ locate "gtk.h" |
My system (Mepis) did not install this by default--even though GTK itself is there.
The package is libgtk2.0-dev |
MS3FGX:
You are comparing Slackware to Ubuntu; obviously Slackware wins that. The only reason I don't run Slackware is my wireless card. And Ubuntu doesn't even come with gcc installed by default. You expect the gtk headers to be there too? I had installed that package and gtk.h is in /usr/include/gtk-2.0/gtk/gtk.h by default, and #include <gtk/gtk.h> works fine. Thanks for your help. |
All times are GMT -5. The time now is 01:32 PM. |