Page 1 of 2 12 LastLast
Results 1 to 10 of 42

Thread: How to use GIMP 2.8 on Lucid 10.04.4 LTS

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Beans
    322

    How to use GIMP 2.8 on Lucid 10.04.4 LTS

    Hi

    This post is for people who
    - Are excited about all the features on the new GIMP 2.8 and want to upgrade to it
    - But want to stick to the Ubunutu Lucid 10.04.4 LTS as it's rock solid, unsoiled by Unity and supported for another year
    - Don't want to go the whole hog and install/ upgrade GIMP and all the other dependencies, risking breaking their system
    - Have limited experience with compiling apps, but know about installing stuff from the standard repositories and tinkering with the terminal

    So a pretty small subset I guess! But anyway...

    Firstly, most of the credit for this info goes to facebook.com/andrea.roscioli for his install script, which I found here. I've just tweaked it a bit and tried to make it easier for noobs like me.

    So let's begin.

    Prerequisites:

    You need to install a few things, but these are all from the standard Lucid repositories so there is very little chance this will break anything. From the terminal do:

    Code:
    sudo apt-get build-dep gimp
    sudo apt-get install git-core
    sudo apt-get install libtool
    There are a few optional bits that you could install from Synaptic Package Manager. You can leave these out if you wish but they provide a few necessary capabilities to GIMP:
    • libbz2-dev: Compression
    • libjasper-dev: JPEG 2000 format support
    • libgs-dev: Ghostscript, for PDF support
    • libcurl4-gnutls-dev, libgudev-1.0-dev: Damned if I know what they are for


    Also, check if your system already has these as well from the standard Lucid reporsitories: pkg-config, intltool, fontconfig, libfreetype6

    In addition I already have a bunch of things already installed which may not be installed on your system (can think of exiftool and the latest RawTherapee build for example) so you may have to come back and install a few more dependencies depending on what GIMP compilation reports (towards the end).


    Preparation:

    From now onwards you can perform the rest of the update without ever using sudo/ admin privileges, ensuring that the rest of the steps will not break any other existing applications.

    - Create a folder structure to hold the GIMP 2.8 code and build in a folder on which you have free read, write, execute privileges. I've created the following under my home folder:

    Code:
    /home/user/Gimp
    --> Gimp2.8
    ----> src
    ----> build
    - I'll reference these in the rest of the notes, just change to suit your folder structure wherever appropriate.

    - Download the following source files from the locations given. If you have an alternate trusted source please feel free to use that.



    - Optionally, you can also download these, if you want support for SVG format files (I needed it so I did)



    - Copy/ move all these files to the Gimp2.8 src directory (/home/user/Gimp/Gimp2.8/src for me)

    - Open the src folder, select all the downloaded files, right click and select 'Extract Here' from the context menu. This will unzip all the files in the src folder creating new sub-folders for each package with the appropriate package name, for example "/home/user/Gimp/Gimp2.8/src/gimp-2.8.0/"


    Compile and Install:

    - Next we need to compile all the source files downloaded and extracted in the src subdirectory. All of these will be installed in the build subdirectory, leaving the rest of the system untouched

    - Open a new terminal window and issue the following commands (replace the folder names with your folder structure created as above)

    Code:
    export PKG_CONFIG_PATH=/home/user/Gimp/Gimp2.8/build/lib/pkgconfig
    export LD_LIBRARY_PATH=/home/user/Gimp/Gimp2.8/build/lib
    - Note that these environment variables only hold for the given terminal session you've started, if you take a break, close it and start a new session you will need to issue these commands again.

    - Navigate to you src directory, for me that's done using

    Code:
    cd /home/user/Gimp/Gimp2.8/src
    - First we will compile the BABL package, located in the babl-0.1.10 subfolder under src. For this execute the following commands from the same terminal window, change the folder after "--prefix" as necessary.

    Code:
    cd babl-0.1.10
    ./autogen.sh --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    - A few notes on the above
    • The second command (autogen.sh) may generate errors indicating that one or the other dependency/ package is missing. I think we've covered all the dependencies but if that happens, ask Google with the error message.
    • If the autogen.sh command completes without any errors, the remaining 2 should go thru fine as well. In the unlikely event that you face an error with make or make install, you will need to explore the interwebs a bit more.
    • The make and make install commands are followed by "-j3". The number 3 is the number of cores on your system (as reported by System Monitor) you want to use for compiling + 1. I have a Core2 Duo and don't want to browse/ play a video during this so have set it to 2+1=3. If you're unsure, leave the "-j3" bit out from the command.


    - Assuming you completed the BABL install fine, you need to compile (from src folder) and install (in build folder) all the other downloaded packages, in the following order (from the same terminal window). Note that the second command for all of these (configure) is different from the one for BABL (autogen.sh) but it plays the same role so you can apply the notes above for the BABL install to all of these.

    Code:
    cd ../glib-2.31.18/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    
    cd ../gegl-0.2.0/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    
    cd ../atk-2.3.95/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    
    cd ../pango-1.29.5/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    
    cd ../gdk-pixbuf-2.24.1/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    
    cd ../pixman-0.24.4/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    
    cd ../cairo-1.10.2/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    
    cd ../gtk+-2.24.10/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    - Optionally, for SVG support, you also need to do the following. Note that the configure command for librsvg is slightly different.

    Code:
    cd ../libcroco-0.6.5/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    
    cd ../gobject-introspection-1.31.22/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    make -j3
    make install -j3
    
    cd ../librsvg-2.36.1/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build --disable-introspection
    make -j3
    make install -j3
    - Assuming all of this goes thru and you succesfully navigate any errors that come up, you are ready to compile and install GIMP 2.8! Issue the following commands (from the same terminal window) and be a little patient...

    Code:
    cd ../gimp-2.8.0/
    ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    - Once the configure command finishes (assuming all mandatory dependencies are met, if not search) it will produce a summary of all the Optional features/ plug-ins/ modules that are available (or not). Have a look see if anything you must have is missing, if so a search is in order!

    - The main thing you should see missing is WebKit. GIMP 2.8 needs WebKit 1.6.1 or above, but Lucid 10.04.4 has 1.2.7. Installing the latest Webkit can break stuff and compiling it is another whole post by itself so I'll leave it as-is. I didn't bother as you only lose the online help integration from within GIMP 2.8. You can always access the online help from your browser anyway so it's not a big loss.

    - Assuming you got all your must-have features/ modules/ plug-ins supported, you can then do the following and go grab a drink.

    Code:
    make -j3
    make install -j3
    - Assuming you see no errors, you're done!!!


    Running GIMP 2.8

    - Without closing the terminal used all this while, go to the bin folder under the build subdirectory. For me that's done by

    Code:
    cd /home/user/Gimp/Gimp2.8/build/bin
    - And then run it by crossing your fingers and running the command

    Code:
    ./gimp-2.8
    - Run through a few basic open image, edit and save commands. Note the output in the terminal, it will help you solve any problems you come across. I didn't get any so far . And exit

    - To make this a bit easier to run, I've created a small text file in my home directory "/home/user/" called gimp28.sh, which contains the following shell script. (Remember to run chmod +x gimp28.sh after creating it, so that it has execute capability)

    Code:
    #!/bin/sh
    export LD_LIBRARY_PATH=/home/user/Gimp/Gimp2.8/build/lib:$LD_LIBRARY_PATH 
    /home/user/Gimp/Gimp2.8/build/bin/gimp-2.8
    exit 0
    - Next I dragged the existing GIMP shortcut from the top left menu tree onto the desktop, right clicked on it and selected "Properties", where I changed the following and clicked 'OK'
    • The Name to "GIMP 2.8"
    • The Command to "/home/user/gimp28.sh"


    - Now I just double click this shortcut to use GIMP 2.8!!
    Intel C2D E7200 || Intel DG33FB mobo || 4 GB RAM || 64 bit Lucid/ Precise Desktops || WD Caviar Black 1TB, Green 2TB; Corsair Force 3 60GB
    Dell U2412M || Palit Sonic GT 240 (OC'd NVidia card) || Logitech Quickcam Connect || Acer 3300U Scanner

  2. #2
    Join Date
    Jun 2007
    Beans
    322

    Re: How to use GIMP 2.8 on Lucid 10.04.4 LTS

    Even after setting Edit -> Preferences -> Help System -> Help Browser to "Web browser" it still doesn't open up the online help in the browser (Firefox in my case) complaining about missing GVFS backend components.

    This despite the fact that the "configure" command while compiling gimp-2.8.0 produced the output:

    Code:
    Optional Plug-Ins:
    ...
      URI:                 yes (using GIO/GVfs)
    So I just

    • Downloaded gimp-help-2.6.0-html-en.tar.bz2 from ftp://ftp.gimp.org/pub/gimp/help/. Help files in other languages can be downloaded as well.
    • Created a subfolder 'help' under /home/user/Gimp/Gimp2.8/build/share/gimp/2.0
    • Extracted the contents of gimp-help-2.6.0-html-en.tar.bz2 into the new /home/user/Gimp/Gimp2.8/build/share/gimp/2.0/help folder
    • Moved the "en" folder under gimp-help-2/html (created as subfolders in the help folder) up to the help folder. So you should see /home/user/Gimp/Gimp2.8/build/share/gimp/2.0/help/en folder containing "index.html" and all the other help files. If your language is say French then you should see index.html in /home/user/Gimp/Gimp2.8/build/share/gimp/2.0/help/fr
    • Started GIMP 2.8 and under Edit -> Preferences -> Help System I set

    • User Manual: "Use a locally installed copy". A little message below this should state "There's a local installation of the user manual."
    • Help Browser to "Web browser"

    In case the little message says there is no local installation of the user manual then check that the Language selected under Edit -> Preferences -> Interface -> Language, matches with the language of the help files you downloaded.
    Intel C2D E7200 || Intel DG33FB mobo || 4 GB RAM || 64 bit Lucid/ Precise Desktops || WD Caviar Black 1TB, Green 2TB; Corsair Force 3 60GB
    Dell U2412M || Palit Sonic GT 240 (OC'd NVidia card) || Logitech Quickcam Connect || Acer 3300U Scanner

  3. #3
    Join Date
    Jan 2009
    Location
    Bay Area CA
    Beans
    89
    Distro
    Ubuntu Development Release

    Re: How to use GIMP 2.8 on Lucid 10.04.4 LTS

    OP,

    Thanks for sharing your knowledge. However, this tutorial seems to be a lot of work for software that will be at EOL in less than 1 year.

    There are alternatives - such as Cinnamon, XFCE,and Gnome3(new and classic) - beyond Unity in 12.04, which is almost 5 years before EOL.

    In 12.04, Gimp 2.8 can be installed with 3 terminal commands:

    sudo add-apt-repository ppa: otto-kesselgulasch/gimp
    sudo apt-get update
    sudo apt-get install gimp

    Peace.
    Ubuntu +1 (Trusty Tahr)

  4. #4
    Join Date
    Jun 2007
    Beans
    322

    Re: How to use GIMP 2.8 on Lucid 10.04.4 LTS

    Quote Originally Posted by OGpmpdog View Post
    OP,

    Thanks for sharing your knowledge. However, this tutorial seems to be a lot of work for software that will be at EOL in less than 1 year.

    There are alternatives - such as Cinnamon, XFCE,and Gnome3(new and classic) - beyond Unity in 12.04, which is almost 5 years before EOL.

    In 12.04, Gimp 2.8 can be installed with 3 terminal commands:

    sudo add-apt-repository ppa: otto-kesselgulasch/gimp
    sudo apt-get update
    sudo apt-get install gimp

    Peace.
    Well I did say it will only be useful for a small subset of people .

    But seriously, I think it will be some time before 12.04 will be usable and stable enough for all. I tried the LiveCD/DVD/USB and it just refused to work with my graphics card (see here).

    BTW re the PPA mentioned in your post, see post just above yours from the PPA's author. He is trying to build a similar PPA for Lucid as well, which would make this long list of instructions redundant!
    Intel C2D E7200 || Intel DG33FB mobo || 4 GB RAM || 64 bit Lucid/ Precise Desktops || WD Caviar Black 1TB, Green 2TB; Corsair Force 3 60GB
    Dell U2412M || Palit Sonic GT 240 (OC'd NVidia card) || Logitech Quickcam Connect || Acer 3300U Scanner

  5. #5
    Join Date
    Dec 2008
    Beans
    4

    Re: How to use GIMP 2.8 on Lucid 10.04.4 LTS

    Quote Originally Posted by shreepads View Post
    Well I did say it will only be useful for a small subset of people .

    But seriously, I think it will be some time before 12.04 will be usable and stable enough for all. I tried the LiveCD/DVD/USB and it just refused to work with my graphics card (see here).

    BTW re the PPA mentioned in your post, see post just above yours from the PPA's author. He is trying to build a similar PPA for Lucid as well, which would make this long list of instructions redundant!
    My approach is to passing by the dependency nightmare in older Ubuntus.
    By the way if you're interested supporting me any help are welcome.

    On the other hand I'm using Kubuntu 12.04 as an early adopter without any serious problems. It's a Compaq Presario CQ60 with a GeForce 8200M G and 4 GB RAM.

    I'll do my very best. I hope I'm ready with my dependency-nightmare-passing-by-and-totally-wasting-disk-space-standalone-version in the next 2 weeks.

    Cheers and greetings from good old Germany. http://ubuntuforums.org/images/smili...y-faces-75.gif

  6. #6
    Join Date
    Dec 2008
    Beans
    4

    Talking Re: How to use GIMP 2.8 on Lucid 10.04.4 LTS

    Have I told you lately that I had more than 30000 downloads with my PPA?

    Ok, it's probably less than the amount of poor sucker applicants for facebook shares.

    BTW: I'm looking forward to Gimp 2.9 with its legendary 16bit color space for RAW photographs. Rumors: It will be done after the summer and in 2012.

    OK

    Cheers

  7. #7
    Join Date
    Jun 2007
    Beans
    322

    Re: How to use GIMP 2.8 on Lucid 10.04.4 LTS

    Quote Originally Posted by otto06217 View Post
    By the way if you're interested supporting me any help are welcome.
    Sure what do you need? But I should tell you that I don't know much about compiling and packaging... And I just have one desktop system which I use on a daily basis for all work (no VMs) so I'm a LITTLE conservative about tweaking it...

    Quote Originally Posted by otto06217 View Post
    Have I told you lately that I had more than 30000 downloads with my PPA?

    Ok, it's probably less than the amount of poor sucker applicants for facebook shares.

    BTW: I'm looking forward to Gimp 2.9 with its legendary 16bit color space for RAW photographs. Rumors: It will be done after the summer and in 2012.

    OK

    Cheers
    Good stuff! Yup looking fwd to full 16 bit compatibility DSLR -> RawTherapee -> GIMP...
    Intel C2D E7200 || Intel DG33FB mobo || 4 GB RAM || 64 bit Lucid/ Precise Desktops || WD Caviar Black 1TB, Green 2TB; Corsair Force 3 60GB
    Dell U2412M || Palit Sonic GT 240 (OC'd NVidia card) || Logitech Quickcam Connect || Acer 3300U Scanner

  8. #8
    Join Date
    Feb 2008
    Location
    California, U.S.A.
    Beans
    105
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to use GIMP 2.8 on Lucid 10.04.4 LTS

    Quote Originally Posted by OGpmpdog View Post
    However, this tutorial seems to be a lot of work for software that will be at EOL in less than 1 year.
    End of support is not the same as end of life: Products can have useful life for many years after official support ends. For example, I'm still running an old 150 MHz Pentium II machine with Windows 98SE on it for certain things where there is just no adequate replacement with later hardware and operating systems.

    This is typical in both businesses and in government/military. I've worked for suppliers to the military, and a 10-year useful life was both a design requirement and contractual requirement. Sometimes so much effort is put into setting up and validating mission-critical systems that upgrading can't be justified until the old system can no longer be economically supported.
    IBM ThinkCentre 3.2GHz Intel Pentium 4 µP, 1.5GB RAM, 1TB Seagate SATA drive.
    I support Idea #23505.
    "A single sunbeam is enough to drive away many shadows." — St. Francis of Assisi

  9. #9
    Join Date
    Jun 2007
    Beans
    322

    Re: How to use GIMP 2.8 on Lucid 10.04.4 LTS

    Gimp 2.8.2 was released a little while back.

    From gimp.org
    Most notorious bugs fixed are: not being able to remember JPEG saving options, slow canvas redraw, not showing page setup options on Windows. There's also a workaround for the bug that used to cause showing incorrect file size values on Windows. For the complete list of changes please see the NEWS file.
    To upgrade
    - Download gimp-2.8.2.tar.bz2
    - Copy to old 'src' directory (hope you didn't delete it!)
    - Right-click, 'Extract Here'
    - Open terminal

    Code:
    $ cd ~/Gimp/Gimp2.8/src/gimp-2.8.2
    
    $ export PKG_CONFIG_PATH=/home/user/Gimp/Gimp2.8/build/lib/pkgconfig
    
    $ export LD_LIBRARY_PATH=/home/user/Gimp/Gimp2.8/build/lib
    
    $ ./configure --prefix=/home/user/Gimp/Gimp2.8/build
    
    $ make -j3
    
    $ make install -j3
    That's it, your old shortcut to gimp 2.8.0 will now open 2.8.2
    Intel C2D E7200 || Intel DG33FB mobo || 4 GB RAM || 64 bit Lucid/ Precise Desktops || WD Caviar Black 1TB, Green 2TB; Corsair Force 3 60GB
    Dell U2412M || Palit Sonic GT 240 (OC'd NVidia card) || Logitech Quickcam Connect || Acer 3300U Scanner

  10. #10
    Join Date
    Sep 2012
    Beans
    9

    Re: How to use GIMP 2.8 on Lucid 10.04.4 LTS

    Thank you, thank you and thank you. First to "shreepads" for his, pardon the pun, "Lucid" instructions on how to compile and install Gimp 2.8 on Ubuntu 10.04. Second to "Bucky Ball" for his sly remark about not liking Unity. The gist of most of the comments on this forum tend toward reinforcing the party line. At one point I was wondering if Mark Shuttleworth had sent out some directive that nobody with forum authority would be allowed to contradict said party line. The conventional wisdom everywhere seems to be that "the desktop is dead." Yeah, well that can become a self-fulfilling prophesy. Or as John Luc Picard says, "Make it so." For a rather large group of people in the world, it is not so, will not be so, should not be so. Thirdly to Andrew_P for noting that products may have a useful life well after their "official" support ends. I mean, heck, I still use Lotus Ami Pro for the word processor of choice on "virtually" all my in-house Windows-based machines. I joined this forum back in June of 2009. Since I haven't logged in for "a while," I noted couple weeks back that I had been unceremoniously erased. Oh well. Re-join. I've been working with Ubuntu systems since Dapper. Probably the best experience I've had installing from beta and going forward was Hardy. Lucid took two months after its release to settle down and fly right. "Precise" (and I sometime shudder when I say that -- like what the heck is there in the release that even remotely may be categorized by the word, "precise?" I might think of it as the Atrocious Anteater, Noxious Numbat, Flukey Farrow, Erratic Echidna.. okay, you get the idea), has taken almost five months since the release to sort out difficulties. I have to say that since we now have Serivce Pack 1 out (borrowing a phrase from Microsoft), the disto has settled down considerably. I'm running two primary test installations, one with Mint/Mate, the other with Ubuntu/Mate. I like the Compiz cube. I like the Emerald Themes I have collected and tweaked over the years. I'm a tad loathe to give all of it up for something that doesn't work properly. Lucid with Gnome 2 is indeed "rock solid." But I'm happy to say that Ubuntu 12.04.1 + Mate 1.4 is almost there. Three weeks back, it wasn't even close, but with the ton of updates Ubuntu has shoveled in since, the setup is pretty stable. Okay, it's very, very nearly "rock solid." Mint/Mate lags behind, but that is to be expected. I do want to thank whomever is responsible for shoring up the underpinnings of Ubuntu 12.04 so as not to sabotage a Gnome2 fork like Mate. I appreciate the good work. So will a couple of my clients whose systems I will be updating next month. Keep it up (and don't screw it up). I'm actually becoming guardedly optimistic. VB
    Last edited by vermontbear; September 30th, 2012 at 01:30 PM.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •