Install help

Note for Windows Users: This page is for installation help for the Unix version of GIMP. If you need help with the installation of Windows GIMP, see the GIMP for Windows page.

Requirements

Main Requirements

Well, it is necessary to have a C compiler and related tools to compile and install the source package. For the most part, GCC is recommended, but a lot of effort has gone into making GIMP compile with as many compilers as possible.

A fair amount of disk space is needed too. For a full build with debugging, at least 200 megs free is recomended. Without debugging and with static libs turned off, GIMP can be compiled in 20-30 megs of space. This will vary depending on architecture of course. A full GIMP install including all the gimp-data packs can be 20 megs or more.

A full compile of the stable version takes 1-2 hours on a PPro 200 or K-6 200 with 64 megs of RAM. On a P4 or Athlon with 256 megs of RAM, a build can take 20-30 minutes. In general, expect about 3-4 times as long as a Linux kernel 2.2 compile (for GNU/Linux systems of course). In other words, its a long compile. That's what 300,000+ lines of code get you.

Stable version (2.2.x)

GIMP Compilation and Installation

After grabbing the GIMP distribution, you are ready to compile and install. The main site for the latest offical GIMP distribution is http://download.gimp.org/pub/gimp/ but you should consider using one of the mirrors listed on the download page.

GIMP makes use of the Gimp Toolkit (GTK+) and other libraries that must be installed first. Look in Requirements above to find out more.

Compile as a normal user using: ./configure && make and then as root make install

If all goes well, a good while later, you will have a brand spanking new GIMP to play with. Unfortunately, it has been rumored that it isn't always that easy. So, here are a few common problems and some solutions ...

For some more specific info, you may want to read the INSTALL file from the main GIMP distribution.

Other Packages

Print plug-in does not compile

Starting with version 1.2.4, the print plug-in depends on libgimpprint, which is now distributed as a separate package. The previous versions of GIMP (up to 1.2.3) included all files as part of the GIMP distribution, but you should now download and install libgimpprint 4.2.6 separately from the Gimp-Print site:

http://gimp-print.sourceforge.net/

Once the lib is compiled and installed, run ldconfig as root and the print plug-in should compile.

JPEG plug-in does not compile

The jpeg plug-in requires the jpeg library. If you don't have it installed or you have a very old version, then you need to get a recent jpeg library. The places to look are:

ftp://ftp.uu.net/graphics/jpeg/

Once the lib is compiled and installed, run ldconfig as root and the jpeg plug-in should compile.

TIFF plug-in does not compile

The tiff plug-in requires the tiff library. See the jpeg problem mentioned above. Same deal, different lib. The places to look are at:

ftp://ftp.sgi.com/graphics/tiff/

Once the lib is compiled and installed, run ldconfig as root and the tiff plug-in should compile.

PNG plug-in does not compile

The png plug-in requires libpng and libz (zlib). See the jpeg problem mentioned above. Same deal, different lib. The places to look are at:

ftp://ftp.uu.net/graphics/png/src/

Once the lib is compiled and installed, run ldconfig as root and the png plug-in should compile.

XPM plug-in does not compile

The xpm plug-in requires the xpm library. See the jpeg problem above. Same deal, different lib. The places to look are at:

ftp://ftp.x.org/contrib/libraries/

I have no SVG support

SVG support requires at least version 2.2 of the rsvg library from gnome.org. This can be found at:

ftp://ftp.gnome.org/mirror/gnome.org/sources/librsvg/