Oliver Weissbarth Software Developer, 3D-Graphics Enthusiast

Installing Gimp 2.7.5 on a Ubuntu 12.04 maschine

Some days ago i read about the one-window-mode in the recent Gimp development version. So i spent some time figuring out how to get Gimp 2.7.5 running on my Ubuntu 12.04. After downloading the source code from gimp.org and running the configure-script i realized that this would be more time consuming than i thought. As i am not a Linux-expert it took me some time to find the different packages and get them working. That’s why i put together a little guide on how to do it for you.
 
Install Gimp 2.7.5 on a Ubuntu 12.04 maschine
=============================================
general information:
——————–
When i write “configure, make and install <package>” i mean to navigate to the source location and run the following commands:

./configure
make
sudo make install

If you got a multi-core-processor you can use multiple core when making:

make -j3 /*if you got a dual-core*/
make -j5 /*if you got a quad-core*/

 
If there was an “autogen.sh”-file i always ran it before running “configure”
————————————–
– create a temporary directory
– Download Gimp 2.7.5 Source ftp://ftp.gimp.org/pub/gimp/v2.7/gimp-2.7.5.tar.bz2 and extract to directory
– open terminal and navigate to your temporary folder
– update intltool by running:

sudo apt-get install intltool

– update gtk+ by running:

sudo apt-get install libgtk2.0-dev

– install gtk-doc by runnning:

sudo apt-get install gtk-doc-tools

– install zlib by running:

sudo apt-get install libghc-zlib-dev

– install vapigen by running:

sudo apt-get install valac

– install python headers by running:

sudo apt-get install python-dev

– install pygobject by running:

sudo apt-get install python-gobject-dev

– download an extract babl from ftp://ftp.gtk.org/pub/babl/0.1/babl-0.1.6.tar.bz2
– configure, make and install babl
– download and extract glib from ftp://ftp.gtk.org/pub/glib/2.32/glib-2.32.0.tar.xz
– configure, make and install glib
– download and extract gegl from ftp://ftp.gtk.org/pub/gegl/0.1/gegl-0.1.8.tar.bz2
– configure, make and install gegl
– download and extract pygtk from http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/pygtk-2.24.0.tar.gz
– configure, make and install pygtk
– navigate to gimp folder
– configure, make and install gimp
– type “gimp-2.7” press “enter” and enjoy it
 
I hope it works for you.

7 thoughts on “Installing Gimp 2.7.5 on a Ubuntu 12.04 maschine”

  1. this has been extemely useful. Just to add for others who might come along and are n00bs like myself. you can download the files(babl, gegl, etc) directly to any folder by navigating to that folder from the command line and running $ “wget ftp://full url of file” without the quotes and using the url provided in this instructional. You will need to run ./autogen.sh for the babl, gegl and glib packages before running configure make install. OP mentioned to run ./autogen.sh before configure .. etc I’m being more explicit in pointing these out.

      1. @dillon
        This is optional. But i would recommend to install it because it is needed to support the tiff-format. You can install it by running:
        sudo apt-get install libtiff4-dev

    1. Thanks for your reply. The “wget”- command ist extremly useful.
      To extract the archives using commands use these ones:
      For .tar.bz2:
      tar -jxvf .tar.bz2
      For .tar.gz:
      tar -zxvf
      .tar.gz
      For .tar.xz:
      unxz
      .tar.xz
      tar xfv
      .tar
      Hear from you next time.

  2. Hi
    Thanks for this.
    As of 04 April, GIMP 2.80rc1 can be compiled by making the following changes:
    I used sudo apt-get build-dep gimp to install most dependencies.
    I downloaded babl version 0.10 from ftp://ftp.gtk.org/pub/babl/0.1/babl-0.1.10.tar.bz2
    I downloaded gegl version 0.2 from ftp://ftp.gtk.org/pub/gegl/0.2/gegl-0.2.0.tar.bz2
    I’m getting a libgimp clash right now when I run 2.8 but it builds fine – just need to remove the old libgimp I reckon.
    Will update later
    Dave

    1. Hello, thank you for your reply.
      This sounds like it would have saved me alot of time to wait a week! But i learned many things while doing this so i don’t regret it.
      Have fun using Gimp!

Leave a Reply

Your email address will not be published. Required fields are marked *