Introduction to GTK+

The GTK+ package contains GTK+ libraries. These are useful for creating graphical user interfaces for applications.

Package Information

GTK+ Dependencies


cairo-1.2.4, Pango-1.12.3, and ATK-1.11.4


Though not required, the GTK developers expect libtiff and libjpeg to be installed. Other packages also expect GTK+-2 to be built with support for these graphics packages as well.


GTK-Doc-1.6 and DocBook-utils-0.6.14

User Notes:

Installation of GTK+

Install GTK+ by running the following commands:

./configure --prefix=/usr --sysconfdir=/etc &&

To test the results, issue: make check. Note that you must run the tests from a session with X Window Display capability (i.e., not a text-based terminal/console) as the tests attempt to open an X window.

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/gtk+-2.8.20/{faq,tutorial} &&
cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.8.20/faq &&
cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.8.20/tutorial

Command Explanations

--sysconfdir=/etc: This switch installs the configuration files into /etc instead of /usr/etc.

--enable-gtk-doc: This switch will rebuild the API documentation during the make command. Ensure you really want to rebuild this documentation (and end up with what is already shipped in the source tree) as it takes a very long time.

--without-libtiff: Use this switch if you don't have libtiff installed.

--without-libjpeg: Use this switch if you don't have libjpeg installed.


Installed Programs: gdk-pixbuf-csource, gdk-pixbuf-query-loaders, gtk-demo, gtk-query-immodules-2.0, and gtk-update-icon-cache
Installed Libraries:,,,, and numerous engine, module, and loader plugins
Installed Directories: /etc/gtk-2.0, /usr/include/gtk-2.0, /usr/lib/gtk-2.0, /usr/share/doc/gtk+-2.8.20, /usr/share/gtk-2.0, /usr/share/gtk-doc/html/{gdk,gdk-pixbuf,gtk}, /usr/share/themes/Default/gtk*, /usr/share/themes/Emacs and /usr/share/themes/Raleigh

Short Descriptions


generates C code containing images, useful for compiling images directly into programs.


collects information about loadable modules for gdk-pixbuf and writes it to standard output.


collects information about loadable input method modules for GTK+ and writes it to standard output.


creates mmap()able cache files for icon themes.

GTK+ Libraries

provide an API to implement graphical user interfaces.

Last updated on 2006-10-22 16:20:11 -0500