1. Installing and Upgrading GIMP
1.1. Do not install or remove GIMP before upgrading
1.1.1. Add a software source.
sudo add-apt-repository ppa:otto-kesselgulasch/gimp
Figure 2
sudo apt-get update
Figure 3
1.1.2. Installing GIMP.
sudo apt-get install gimp gimp-plugin-registry Gimp-data-extras
Figure 4
1.2. Installed GIMP Direct upgrade
1.2.1. new software source.
sudo add-apt-repository ppa:otto-kesselgulasch/gimp [Enter]
1.2.2. Update the software source and upgrade (if the upgrade fails and then see 1.2.3, if successful please skip 1.2.3 ~ 1.2.6).
sudo apt-get update && sudo apt-get dist-upgrade [Enter]
The following NEW packages'll be installed:
Libbabl-0.1-0{a} Libgegl-0.2-0{a} Libopenraw1{a}
The following packages would be removed:
Libbabl-0.0-0{u} Libgegl-0.0-0{u}
The following packages would be upgraded:
GIMP gimp-data libgimp2.0 python-central
4 Packages upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
Need to get 23.6 MB of archives. After unpacking 42.6 MB would be used.
Want to continue? [y/n/?]
1.2.3. Repair the Software library (may not be repaired successfully).
sudo apt-get install-f [Enter]
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
Correcting dependencies ... Done
The following extra packages'll be installed:
Gimp
Suggested Packages:
Gimp-data-extras
The following packages would be upgraded:
Gimp
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 b/6,086 KB of archives.
After this operation, 2,121 KB of additional disk space would be used.
Want to continue [y/n]?
1.2.4. Manually force removal of GIMP.
$ cd/var/lib/dpkg/info/[Enter]
[www.linuxidc.com @linuxidc:/var/lib/dpkg/info/]
$ sudo rm-rf gimp.postinst gimp.postrm gimp-gmic.list gimp-gmic.md5sums gimp-plugin-registry.list Gimp-plugin-registry.md5sums [Enter]
[www.linuxidc.com @linuxidc: ~]
$ sudo aptitude purge gimp [Enter]
1.2.5. Update the Software library.
[www.linuxidc.com @linuxidc: ~]
$ sudo apt-get update; sudo apt-get dist-upgrade
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
Calculating upgrade ... Done
The following packages would be upgraded:
Python-central
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 b/41.4 KB of archives.
After this operation, 0 B of additional disk space would be used.
Want to continue [y/n]? Y
1.2.6. Installing GIMP.
[www.linuxidc.com @linuxidc: ~]
$ sudo aptitude install gimp gimp-plugin-registry Gimp-data-extras [Enter]
linux--Installing and Upgrading GIMP