Installing latest version of GIMP in Debian Squeeze using repos and apt-get

Apr 12th, 2012 | By | Category: Linux / Freebsd

Alright so last night I did a ton of upgrades and when I went to open GIMP this morning I found that it wasn’t there.  Awesome, the upgrades apparently removed it due to some unmet dependencies.  Not to be unexpected as my Debian is a veritable mixture of stable debian, backports, one or two SID installs and a couple from source.   Am I happy with the stability and performance I get out of Debian? Hell ya!  Am I satisfied with the snails pace that updates trickle into my OS? Hell no!  So I accept and pay the price for that and today was one of those days.

Of course after seeing that GIMP was missing I immediately tried to re-install it and was greeted with the following message:

The following packages have unmet dependencies:
gimp : Depends: python (< 2.6) but 2.6.6-3+squeeze6 is to be installed
E: Broken packages

Awesome, so my current gimp needed a version of python below what I had to install and I say to hell with that!  After checking with synaptic I saw that the stable version of GIMP in my repos was 2.6 and the latest stable version on is 2.75 with 2.8RC1 just being released so that told me that there clearly was a version of gimp out there built to run on a more updated version of python and clearly everyone else in the world was enjoying it but me.

So time to tell Debian to look elsewhere for GIMP and that required a new repo added to my sources.list file or maybe 2 for you depending on what you’ve been up to in the past.

The main one that you are going to need is the repository containing the lastest version of GIMP, obviously.  So you need to add the following to your /etc/apt/sources.list file:

deb squeeze main

and of course you’re going to need the key for it which you can install by typing the following:

wget -O – | sudo apt-key add –

So, now you might be all set but then again you might not be because if you haven’t added the multimedia repo or the backports repo you’ll need to do that now as well.  So check your sources.list and if the following lines aren’t in there already they will need to be:

deb squeeze main non-free

deb squeeze-backports main
That should do it for you, you can now do a simple sudo apt-get install gimp2.7 and it should all install easy peasy lemonsqueezy.
Tags: , , , , , , , , ,

2 Comments to “Installing latest version of GIMP in Debian Squeeze using repos and apt-get”

  1. Mark says:

    Thanks! Well writen post and as I’m too dense too work things out, having all the commands neatly laid out for me is great – just what I was looking for!

  2. Tom says:

    Tried this on a freshly installed squeeze and it didn’t work. Something about libgimp and broken packages. Thanks though.

Leave a Comment