How to install GIMP 2.8 on CentOS 6.4 / RHEL6

Posted: September 19, 2013 in FX Pipeline, Linux

gimp-splash-original

How to install GIMP 2.8 on CentOS 6.4 / RHEL6

centos and red hat linux os have GIMP 2.6 installed by default.
GIMP 2.8 is an another important release from a development point of view, even more that it was for 2.6. It features a big change to the user interface addressing one of the most often received complain: the lack of a single window mode. Moreover the integration effort of GEGL library had taken a big step forward, reaching more than 90% of the GIMP core, a new powerful transformation tool, layer groups, new common options, new brushes, improved text tool, and more

the GIMP 2.8 is the latest version of gimp which include following great features:-

http://docs.gimp.org/2.8/en/gimp-introduction-whats-new.html
Lets install GIMP 2.8 in centOS 6.4

first install required packages:

yum install -y aalib aalib-devel libexif-devel libjpeg-devel libpng-devel
yum install -y libtiff-devel libmng-devel libXpm-devel librsvg-devel libwmf-devel
yum install -y libffi-devel webkitgtk-devel python-devel zlib-devel pygtk2-devel

Download Following Packages:

gimp-2.8.6
ftp://ftp.gimp.org/pub/gimp/v2.8/gimp-2.8.6.tar.bz2

glib-2.34.0
http://ftp.acc.umu.se/pub/GNOME/sources/glib/2.34/glib-2.34.0.tar.xz

babl-0.1.10
ftp://ftp.gimp.org/pub/babl/0.1/babl-0.1.10.tar.bz2

gegl-0.2.0
ftp://ftp.gimp.org/pub/gegl/0.2/gegl-0.2.0.tar.bz2

atk-2.2.0
http://download.gnome.org/sources/atk/2.2/atk-2.2.0.tar.bz2

cairo-1.12.16
http://cairographics.org/releases/cairo-1.12.16.tar.xz

pango-1.29.4
http://ftp.gnome.org/pub/gnome/sources/pango/1.29/pango-1.29.4.tar.bz2

gdk-pixbuf-2.24.1
http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/gdk-pixbuf-2.24.1.tar.xz

gtk+-2.24.10
http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.10.tar.xz

 

 

download and extract above 9 packages and copy to /opt

 

 

go to terminal with root and copy Following Code :-

############################################################

mkdir /opt/gimp2.8

cd /opt/babl-0.1.10
./configure –prefix=/opt/gimp2.8
make
make install

cd /opt/glib-2.34.0
./configure –prefix=/opt/gimp2.8
make
make install

cd /opt/gegl-0.2.0
export PKG_CONFIG_PATH=/opt/gimp2.8/lib/pkgconfig
export LD_LIBRARY_PATH=/opt/gimp2.8/lib
mkdir /opt/gegl
mkdir /opt/gegl/buffer
mkdir /opt/gegl/buffer/babl
cp -p /opt/gimp2.8/include/babl-0.1/babl/*.h /opt/gegl/buffer/babl/
./configure –prefix=/opt/gimp2.8
make
make install

cd /opt/atk-2.2.0
./configure –prefix=/opt/gimp2.8
make
make install

cd /opt/cairo-1.12.16
./configure –prefix=/opt/gimp2.8
make
make install

cd /opt/pango-1.29.4
./configure –prefix=/opt/gimp2.8
make
make install

cd /opt/gdk-pixbuf-2.24.1
./configure –prefix=/opt/gimp2.8
make
make install

cd /opt/gtk+-2.24.10
export LD_LIBRARY_PATH=/opt/gimp2.8/lib
export PKG_CONFIG_PATH=/opt/gimp2.8/lib/pkgconfig
./configure –prefix=/opt/gimp2.8
make
make install

cd /opt/gimp-2.8.6
export LD_LIBRARY_PATH=/opt/gimp2.8/lib
export PKG_CONFIG_PATH=/opt/gimp2.8/lib/pkgconfig
./configure –prefix=/opt/gimp2.8
make
make install

/opt/gimp2.8/bin/gimp-2.8

############################################################

 

It Will Take approximate (30-40 Minutes to compile)

After Compile

go to terminal and enter

/opt/gimp2.8/bin/gimp-2.8

 

final_GIMP2.8
Thats It !!!

Cheers

Advertisements
Comments
  1. Flyer says:

    Thanks it WORK!!!

  2. chenguan says:

    many thxs , been following your help, and always get things done.
    just a note to install gimp following your help.

    where is –prefix should be – – prefix.
    finally gimp 2.8 in my centos.

  3. wiz says:

    Works like a charm!
    Thanks a lot! 🙂

  4. Phil White says:

    Great info. Works in CentOS 6.5 on Dell Inspiron 3520.

  5. Thanks Rajiv. Did it today with 2.8.8 source and worked fine. I was missing a few dev header packages (mostly for python support, needed for many extensions) which were easily added.

  6. can’t copy or extract files in /opt. seems like no permission. Tried this;
    [root@gt680r Downloads]# cp babl-0.1.10 /opt
    cp: omitting directory `babl-0.1.10′
    also didnt worked. now how can I copy these files there?

  7. sorry managed to copy them there but now I can execute the command you say:
    [root@gt680r babl-0.1.10]# ./configure –prefix=/opt/gimp-2.8.10
    configure: error: invalid variable name: `–prefix’

    (my gimp folder name is gimp-2.8.10)

  8. Mark says:

    failure in section “pango-1.29.4”:
    # make

    cd . && /bin/sh /opt/pango-1.29.4/missing –run automake-1.11 –gnits
    gtk-doc.make:55: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL
    docs/Makefile.am:119: `gtk-doc.make’ included from here
    gtk-doc.make:60: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL
    docs/Makefile.am:119: `gtk-doc.make’ included from here
    modules/Module.mk:28: Libtool library used but `LIBTOOL’ is undefined


    any advice ?

  9. Vasya says:

    pango-1.29.4
    /usr/bin/ld: opentype/.libs/libharfbuzz.a(libharfbuzz_la-hb-font.o): relocation R_X86_64_32 against `_hb_font_funcs_nil’ can not be used when making a shared object; recompile with -fPIC
    opentype/.libs/libharfbuzz.a(libharfbuzz_la-hb-font.o): could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[4]: *** [libpangoft2-1.0.la] Error 1

    centos 6.5 x64

  10. Vasya says:

    Solution is
    ./configure –prefix=/opt/gimp2.8 –enable-shared

  11. It worked for me very well although there were only minor problems.

  12. Niyas says:

    This working fine

    Thank you

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s