Introduction to Gimp

The Gimp package contains the GNU Image Manipulation Program which is useful for photo retouching, image composition and image authoring.

This package is known to build and work properly using an LFS-8.2 platform.

Package Information

Additional Downloads

  • The optional help files for 2.10 are still being updated. In the meantime, here is a git pull:

  • The downloads may have been updated since this version of the book was committed. For the gimp-help-2018-05-19-f8fb93ed2 tarball, the MD5 sum is: f420eccb087d797936738b62e066e0a6 and other sums may be in the README file in the same directory.

  • Download size: 159 MB

  • Estimated disk space required: From 350 MB (en only) to 1429 MB (all 18 languages), average of 52 MB per translation

  • Estimated build time: 1.9 SBU (en only), average of 2.4 SBU per translation (measured with 5 languages), 14 SBU, with parallelism=4, for all languages

Gimp Dependencies


gegl-0.4.4, gexiv2-0.10.8, glib-networking-2.56.1, GTK+-2.24.32, HarfBuzz-1.8.1. libjpeg-turbo-1.5.3, libmypaint-1.3.0, librsvg-2.42.2, LibTIFF-4.0.9, libxml2-2.9.8 (for Python2) (to build the translated help files), Little CMS-2.9, mypaint-brushes-1.3.0, Poppler-0.65.0 (including poppler-data) and X Window System



AAlib-1.4rc5, alsa-lib-1.1.6, Gvfs-1.36.0 (to access the online help), libmng-2.0.3, libwebp-1.0.0, OpenJPEG-2.3.0, an MTA (that provides a sendmail program), GTK-Doc-1.28, appstream-glib and libwmf

When you have run configure, you will see that WebKit is not found - that dependency is for the legacy webkit-1.0 which should never be used on a modern system exposed to the internet.

Optional, for optimizing the PNG files in the help system

pngnq and pngcrush

User Notes:

Installation of Gimp

Install Gimp by running the following commands:

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

To test the results (requires an X-Windowed terminal) issue: make check.

Now, as the root user:

make install


This package installs icon files into the /usr/share/icons/hicolor hierarchy and desktop files into the /usr/share/applications hierarchy. You can improve system performance and memory usage by updating /usr/share/icons/hicolor/index.theme and /usr/share/applications/mimeinfo.cache. To perform the update you must have GTK+-2.24.32 or GTK+-3.22.30 installed (for the icon cache) and desktop-file-utils-0.23 (for the desktop cache) and issue the following commands as the root user:

gtk-update-icon-cache &&

Installation of Gimp-Help

The gimp-help tarball contains images and English text help for help files, together with translations.

If you downloaded the gimp-help tarball, unpack it and change into the root of the newly created source tree. Prepare for the build with the following command:

ALL_LINGUAS="ca da de el en en_GB es fi fr it ja ko nl nn pt_BR ru zh_CN" \
./ --prefix=/usr &&

Remove from ALL_LINGUAS the codes for any languages which you do not wish to install. Alternatively, remove the line starting with ALL_LINGUAS, if you wish to build all languages.

Now build the help files:


Issue the following commands as the root user to install the help files:

make install &&
chown -R root:root /usr/share/gimp/2.0/help

Command Explanations

ALL_LINGUAS="ca da de el en en_GB ...": by default, the help files will be rendered in all the available languages. Remove the codes of any languages you do not wish to build.

--disable-python: This option is necessary if you have not installed PyGTK.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

Configuring The Gimp

Config Files

/etc/gimp/2.0/* and ~/.gimp-2.8/gimprc


Installed Programs: gimp (symlink), gimp-2.10, gimp-console (symlink), gimp-console-2.10, and gimptool-2.0
Installed Libraries:,,,,,,,, and
Installed Directories: /etc/gimp, /usr/include/gimp-2.0, /usr/{lib,share}/gimp, /usr/share/gimp/2.0, /usr/share/gtk-doc/html/libgimp{,base,color,config}, and /usr/share/gtk-doc/html/libgimp{math,module,thumb,widgets}

Short Descriptions


is a symbolic link to gimp-2.10.


is the Gnu Image Manipulation Program. It works with a variety of image formats and provides a large selection of tools.


is a symbolic link to gimp-console-2.10.


is a console program that behaves as if The Gimp was called with the --no-interface command-line option.


is a tool that can build plug-ins or scripts and install them if they are distributed in one source file. gimptool-2.0 can also be used by programs that need to know what libraries and include-paths The Gimp was compiled with.

provides C bindings for The Gimp's Procedural Database (PDB) which offers an interface to core functions and to functionality provided by plug-ins.

provides the C functions for basic Gimp functionality such as determining enumeration data types, gettext translation, determining The Gimp's version number and capabilities, handling data files and accessing the environment.

provides the C functions relating to RGB, HSV and CMYK colors as well as converting colors between different color models and performing adaptive supersampling on an area.

contains C functions for reading and writing config information.

contains C functions which provide mathematical definitions and macros, manipulate 3x3 transformation matrices, set up and manipulate vectors and the MD5 message-digest algorithm.

provides the C functions which implements module loading using GModule and keeps a list of GimpModule's found in a given searchpath.

provides the C functions for handling The Gimp's thumbnail objects.

contains The Gimp's common user interface functions.

contains The Gimp and GTK's widget creation and manipulation functions.

Last updated on 2018-07-15 19:00:27 -0500