In this tutorial I will show how to compile from source and install in Debian Lenny the latest release of GIMP, the most powerful image manipulation application currently available for Linux.
First of all, Debian Lenny comes with GIMP 2.4.7 in the repositories, so if you have it installed, you should remove it first:
apt-get remove --purge gimp
apt-get autoremove --purge
Next, install the dependencies needed to compile GIMP 2.6.10:
apt-get build-dep gimp
apt-get install libbabl-0.0-0-dev libgegl-0.0-dev
Next, download the GIMP 2.6.10 source tarball from the GIMP FTP site and then uncompress it:
tar -xjf gimp-2.6.10.tar.bz2
Now change the working directory to gimp-2.6.10 and issue these commands:
make installGIMP 2.6.10 in Debian Lenny
The last one as root. If you want to install GIMP as a normal user, specify a different prefix to the configure script:
There is no need to be root when issuing make install this time.