10.19. Glib-2.28.6

Glib is a tool to help you insert the correct compiler options on the command line when compiling applications and libraries.

10.19.1. Installation of Glib

Prepare Glib for compilation:

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

Compile the package:


To test the results, issue: make -k check.

Install the package:

make install

10.19.2. Contents of Glib

Installed programs: gdbus, gio-querymodules, glib-compile-schemas, glib-genmarshal, glib-gettextize, glib-mkenums, gobject-query, gsettings, gtester and gtester-report
Installed libraries: libglib-2.0.so, libgmodule-2.0.so, libgthread-2.0.so, libgobject-2.0.so and libgio-2.0.so
Installed directory: /usr/share/glib-2.0, /usr/share/gtk-doc/html/glib, /usr/lib/glib-2.0 and /usr/include/glib-2.0

Short Descriptions


Introspect and call remote objects.


gio-querymodules creates a giomodule.cache file in the listed directories. This file lists the implemented extension points for each module that has been found. It is used by GIO at runtime to avoid opening all modules just to find out which extension points they are implementing.


GSettings schema compiler.


C code marshaller generation utility for GLib closures.


glib-gettextize helps to prepare a source package for being internationalized through gettext. It is a variant of the gettextize that ships with gettext.


C language enum description generation utility.


gobject-query takes a mandatory argument that specifies whether it should iterate over the fundamental types or print a type tree.


gsettings offers a simple commandline interface to GSettings. It lets you get, set or monitor an individual key for changes.


gtester is a utility to run unit tests that have been written using the GLib test framework.


gtester-report is a script which converts the XML output generated by gtester into HTML.