Gimp 2.8 comes with a lot dependencies. How to install gimp 2.8 with dependencies on Debian Squeeze ?
There is no gimp2.8 in backports, therefore the easiest way is to add testing repositories to your machine:
echo "deb http://ftp.de.debian.org/debian/ testing main" | sudo tee -a /etc/apt/sources.list
Then you need to configure apt pin priorities to make testing version as additional to prevent distributive upgrade. For that do
echo "Package: * Pin: release a=stable Pin-Priority: 700 Package: * Pin: release a=testing Pin-Priority: 650" | sudo tee -a /etc/apt/preferences
After that you can update you packages list:
And install gimp2.8 from testing with:
aptitude -t testing install gimp
It will resolve dependencies and upgrade all necessary packages automatically.
Also you can backport gimp yourself, but it is much harder (:
If you aren't too tight on disk space, the easiest way to combine a stable system with the latest versions of a few applications is to run Debian stable, and maintain an installation of Debian unstable or testing in a chroot.
For a guide to setting up a Debian-like distribution in a chroot, see How do I run 32-bit programs on a 64-bit Debian/Ubuntu? (the schroot section). The guide is written for 32-bit Ubuntu inside 64-bit Ubuntu, but applies equally to unstable inside stable and to Debian.
Set up the schroot, and install Gimp inside it. You can make a wrapper outside the chroot to run a chrooted Gimp. Put this file as
/usr/local/bin/gimp (assuming you installed a wheezy chroot in
#!/bin/sh exec schroot -c /wheezy gimp