Install Gimp
From Dolot
| Developer(s) | The GIMP Development Team |
|---|---|
| Initial release | January 1996 |
| Written in | C (GTK+) |
| Operating system | Cross-platform |
| Available in | Multilingual |
| Development status | Active |
| Type | Raster graphics editor |
| License | GNU General Public License |
| Website | www.gimp.org |
This is a guide on how to compile and install Gimp from source.
The current version is 2.7.1, which enables the highly desired "Single-window mode".
|
1 Introduction
According to Wikipedia:
GIMP (The GNU Image Manipulation Program) is a free software raster graphics editor. Primarily, GIMP is used as a tool for photo manipulations, such as resizing, editing, and cropping photos, combining multiple images, and converting between different image formats. GIMP can also be used to create basic animated images in the GIF format.
The product vision for GIMP is to become a high-end graphics application for the editing and creation of original images, icons, graphical elements of web pages and art for user interface elements. One point in GIMPs product vision would see GIMP used for the development of cutting-edge image-processing algorithms.
2 Preparation
2.1 Got root?
We need root access to compile and install Gimp. So, open up the terminal and type:
sudo -s
2.2 Setting variables
Important! These variables have to be set and are required for all further commands. If you close the terminal window, you have to give the 3 export commands again.
export PATH=$PATH:/opt/gimp-2.7/bin export PKG_CONFIG_PATH=/opt/gimp-2.7/lib/pkgconfig export LD_LIBRARY_PATH=/opt/gimp-2.7/lib
2.3 Installing dependencies
The following packages are needed to compile gimp
apt-get build-dep gimp aptitude install checkinstall git-core libtool libopenexr-dev libopenraw-dev libspiro-dev ruby
3 Installing glib (Only needed for Ubuntu 9.04)
3.1 Getting glib source
cd /usr/local/src wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.2.tar.bz2 tar -xjf glib-2.22.2.tar.bz2
3.2 Configuring and compiling glib
cd /usr/local/src/glib-2.22.2 ./configure --prefix=/opt/gimp-2.7 make -j3 sudo make install -j3 cd ..
4 Installing GTK (Only needed for Ubuntu 9.04)
4.1 Getting GTK source
cd /usr/local/src wget http://ftp.gnome.org/pub/gnome/sources/gtk+/2.18/gtk+-2.18.2.tar.bz2 tar -xjf gtk+-2.18.2.tar.bz2
4.2 Configuring and compiling GTK
cd /usr/local/src/gtk+-2.18.2 ./configure --prefix=/opt/gimp-2.7 make -j3 sudo make install -j3 cd ..
5 Installing BABL
5.1 Getting BABL source
cd /usr/local/src git clone --depth 1 git://git.gnome.org/babl
5.2 Configuring and compiling BABL
cd /usr/local/src/babl ./autogen.sh --prefix=/opt/gimp-2.7 make -j3 sudo make install -j3 cd ..
6 Installing GEGL
6.1 Getting GEGL source
cd /usr/local/src git clone --depth 1 git://git.gnome.org/gegl
6.2 Configuring and compiling GEGL
cd /usr/local/src/gegl ./autogen.sh --prefix=/opt/gimp-2.7 --disable-gtk-doc make -j3 sudo make install -j3 cd ..
7 Installing GIMP
7.1 Getting GIMP source
cd /usr/local/src git clone --depth 1 git://git.gnome.org/gimp
7.2 Configuring and compiling GIMP
cd /usr/local/src/gimp ./autogen.sh --prefix=/opt/gimp-2.7 --disable-gtk-doc make -j3 sudo make install -j3 cd ..
7.3 Launch GIMP
Launch GIMP with:
/opt/gimp-2.7/bin/gimp-2.7
8 Thanks
This guide was originally posted on Gimpusers, created by redforce.