Blog

Back

05/05/2012

Installing Gimp 2.8 in Ubuntu 12.04. First impressions.

As you may know, Gimp 2.8 is out, and of course it’s not in Ubuntu 12.04 which was released some days before.

There are lots of tutorials on how to install it on Ubuntu 12.04, both building from source and by using Ubuntu’s package manager.
I’ve decided to compile from source, following these instructions: http://www.gregorystrike.com/2012/05/03/how-to-build-gimp-2-8-from-source-in-ubuntu-12-04/.

Basically, execute:

Prepare the system:

sudo apt-get update
sudo apt-get install cvs subversion git-core mercurial
sudo apt-get build-dep gimp
sudo apt-get remove libgegl-0.0-dev libbabl-0.0-0-dev
sudo apt-get install libavformat-dev libavcodec-dev valac-0.16 graphviz ruby1.9.1-dev liblua5.1-0-dev
sudo apt-get install libopenexr-dev libopenraw-dev libexiv2-dev libsdl1.2-dev libgs-dev libjasper-dev
sudo apt-get install checkinstall

Now create the destination folder (/opt/gimp2.8) and set the vars to tell the system where to install Gimp 2.8:

cd /tmp
mkdir gimp_build && cd gimp_build
export PATH=/opt/gimp-2.8/bin:$PATH
export PKG_CONFIG_PATH=/opt/gimp-2.8/lib/pkgconfig
export LD_LIBRARY_PATH=/opt/gimp-2.8/lib

Download and compile BABL and GEGL, important parts of Gimp 2.8:

git clone git://git.gnome.org/babl
cd babl
./autogen.sh --prefix=/opt/gimp-2.8
make
sudo make install
cd ..

git clone git://git.gnome.org/gegl
cd gegl
./autogen.sh --prefix=/opt/gimp-2.8
make
sudo make install
cd ..

And finally, download & compile the source:

wget ftp://ftp.gimp.org/pub/gimp/v2.8/gimp-2.8.0.tar.bz2
tar -xjf gimp-2.8.0.tar.bz2
cd gimp-2.8.0
./configure --prefix=/opt/gimp-2.8
make
sudo make install

It all went well, and Gimp 2.8 is working. The advantage of this method is that I have both 2.6 and 2.8.

I haven’t played with 2.8 that much, but right now there are 2 stoppers:

  • It does not support compressed XCF files out-of-the-box. I can only open I save plain XCF files. All my work is stored in XCF.GZ compressed files that I save in 2.6 directly.
    So, I can’t open my files in 2.8. Great.
  • It does not open NEF files. Another stopper. I cannot open the files from my camera.

I’ll leave 2.8 installed because it’s nice, and if I have time, I’ll try to fix these problems. Surely it’s a matter of finding and installing the right plugins in the right places.
Just a matter of time.


© 2018 Esteve Boix | Powered by PmWiki | Original skin Barthelme theme by Scott and ported by Chi Shang.