GIMP 2.5 came out and it has some interesting features. Since it is not available in Ubuntu's repos i thought it would be nice to make a detailed tutorial on how to install GIMP 2.5 on Ubuntu Hardy for evaluation purpose.
1. Install the packages needed to compile programs:
$ sudo apt-get install build-essential
2. Install gimp dependencies:
$ sudo apt-get build-dep gimp
3. Make binaries, includes, libraries in /opt/gimp-2.5 available for use:
$ export PATH=/opt/gimp-2.5/bin:$PATH
$ export LD_LIBRARY_PATH=/opt/gimp-2.5/lib
$ export PKG_CONFIG_PATH=/opt/gimp-2.5/lib/pkgconfig
4. Install latest BABL and GEGL libs from source (these libs were not installed in step 2 as the gimp package in the repo is not depending on them)
4.1 Grab latest versions from SVN:
$ svn co http://svn.gnome.org/svn/babl/trunk/ babl
$ svn co http://svn.gnome.org/svn/gegl/trunk/ gegl
4.2 Install BABL:
$ cd babl
$ ./autogen.sh --prefix=/opt/gimp-2.5
$ make
$ sudo make install
$ cd ..
4.3 Install GEGL:
$ cd gegl
$ ./autogen.sh --prefix=/opt/gimp-2.5
$ make
$ sudo make install
$ cd ..
5. Grab GIMP 2.5 tarbal here: ftp://ftp.gimp.org/pub/gimp/v2.5/gimp-2.5.0.tar.bz2
$ wget ftp://ftp.gimp.org/pub/gimp/v2.5/gimp-2.5.0.tar.bz2
6. Extract and intall latest GIMP:
$ tar jxvf gimp-2.5.0.tar.bz2
$ cd gimp-2.5.0
$ ./configure --prefix=/opt/gimp-2.5
$ make
$ sudo make install
7. Enjoy your GIMP by running:
$ /opt/gimp-2.5/bin/gimp-2.5
1. Install the packages needed to compile programs:
$ sudo apt-get install build-essential
2. Install gimp dependencies:
$ sudo apt-get build-dep gimp
3. Make binaries, includes, libraries in /opt/gimp-2.5 available for use:
$ export PATH=/opt/gimp-2.5/bin:$PATH
$ export LD_LIBRARY_PATH=/opt/gimp-2.5/lib
$ export PKG_CONFIG_PATH=/opt/gimp-2.5/lib/pkgconfig
4. Install latest BABL and GEGL libs from source (these libs were not installed in step 2 as the gimp package in the repo is not depending on them)
4.1 Grab latest versions from SVN:
$ svn co http://svn.gnome.org/svn/babl/trunk/ babl
$ svn co http://svn.gnome.org/svn/gegl/trunk/ gegl
4.2 Install BABL:
$ cd babl
$ ./autogen.sh --prefix=/opt/gimp-2.5
$ make
$ sudo make install
$ cd ..
4.3 Install GEGL:
$ cd gegl
$ ./autogen.sh --prefix=/opt/gimp-2.5
$ make
$ sudo make install
$ cd ..
5. Grab GIMP 2.5 tarbal here: ftp://ftp.gimp.org/pub/gimp/v2.5/gimp-2.5.0.tar.bz2
$ wget ftp://ftp.gimp.org/pub/gimp/v2.5/gimp-2.5.0.tar.bz2
6. Extract and intall latest GIMP:
$ tar jxvf gimp-2.5.0.tar.bz2
$ cd gimp-2.5.0
$ ./configure --prefix=/opt/gimp-2.5
$ make
$ sudo make install
7. Enjoy your GIMP by running:
$ /opt/gimp-2.5/bin/gimp-2.5
Very clear steps. Thanks for installing to a sane location too.
Thanks for the tutorial!
But I encountered a problem. I had to run step 4 before step 3, otherwise GEGL wouldn't find the BABL libs. Otherwise it works fine!
Patrik,
Thanks for noticing the error in my tutorial. I have modified it so that step 4 is now step 3 and vice-versa