Page 1 of 1

How to install Gimp 2.8 for the not so experienced

Posted: Thu Jun 07, 2012 6:49 am
by crborga
This is a quick write up for some of the not so experienced LMDE users. Before you follow this be sure to backup sources.
The following commands should be pasted into your Terminal emulator (ex: xterm, mate-terminal).

Backup your sources

Code: Select all

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
Replace your sources

Code: Select all

sudo nano /etc/apt/sources.list
/etc/apt/sources.list

Code: Select all

#################
###LMDE Repo#####
#################
#deb http://packages.linuxmint.com/ debian main upstream import
#deb-src http://packages.linuxmint.com/ debian main upstream import
#deb http://debian.linuxmint.com/latest testing main contrib non-free
#deb-src http://debian.linuxmint.com/latest testing main contrib non-free
#deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
#deb-src http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
#deb http://debian.linuxmint.com/latest/multimedia testing main non-free
#deb-src http://debian.linuxmint.com/latest/multimedia testing main non-free

#################
##Wheezy Testing##
#################
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org wheezy/updates main contrib non-free
deb-src http://security.debian.org wheezy/updates main contrib non-free
deb http://ftp.debian.org/debian/ testing-proposed-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ testing-proposed-updates main contrib non-free
Press CTRL+X and type "Y" to save

Install Gimp 2.8

Code: Select all

sudo apt-get update && sudo apt-get install --reinstall gimp
Type "Y" to accept the changes

Once it is finished reverse the sources

Code: Select all

sudo nano /etc/apt/sources.list
/etc/apt/sources.list

Code: Select all

#################
###LMDE Repo#####
#################
deb http://packages.linuxmint.com/ debian main upstream import
deb-src http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb-src http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb-src http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
deb-src http://debian.linuxmint.com/latest/multimedia testing main non-free

#################
##Wheezy Testing##
#################
#deb http://ftp.debian.org/debian/ testing main contrib non-free
#deb-src http://ftp.debian.org/debian/ testing main contrib non-free
#deb http://security.debian.org wheezy/updates main contrib non-free
#deb-src http://security.debian.org wheezy/updates main contrib non-free
#deb http://ftp.debian.org/debian/ testing-proposed-updates main contrib non-free
#deb-src http://ftp.debian.org/debian/ testing-proposed-updates main contrib non-free
and updating again to refresh package list

Code: Select all

sudo apt-get update
Press CTRL+X and type "Y" to save

In the event you need to restore your sources before you following this or if your system is broken

Code: Select all

sudo mv /etc/apt/sources.list.backup /etc/apt/sources.list && sudo apt-get update && sudo apt-get -f install

Re: How to install Gimp 2.8 for the not so experienced

Posted: Fri Jun 08, 2012 12:45 am
by roger64
Hi

Some weeks ago, I struggled to compile Gimp 2.8 and finally succeeded thanks to expert help. It was to get a huge thing (over 600 megs), tons of libraries. A dreadful but enlightening experience. :D

The files had landed in my /home (my mistake) and I wanted to have a cleaner copy. To make a long story short, I used your post above and install was a breeze. Do not forget to wipe out anything related to Gimp before, so as not to have menu problems.

Thank you

Re: How to install Gimp 2.8 for the not so experienced

Posted: Fri Jun 08, 2012 7:26 am
by crborga
roger64 wrote:Hi

Some weeks ago, I struggled to compile Gimp 2.8 and finally succeeded thanks to expert help. It was to get a huge thing (over 600 megs), tons of libraries. A dreadful but enlightening experience. :D

The files had landed in my /home (my mistake) and I wanted to have a cleaner copy. To make a long story short, I used your post above and install was a breeze. Do not forget to wipe out anything related to Gimp before, so as not to have menu problems.

Thank you
you are very welcome

Re: How to install Gimp 2.8 for the not so experienced

Posted: Wed Jul 18, 2012 1:07 pm
by Intio
Worked perfectly: saves me having to compile. Thanks very much.