码迷,mamicode.com
首页 > 系统相关 > 详细

Linux--安装及升级 GIMP

时间:2015-11-26 14:41:32      阅读:440      评论:0      收藏:0      [点我收藏+]

标签:

1. 安装及升级 GIMP

1.1. 未安装或先行移除 GIMP 后再升级

1.1.1. 添加软件来源。

sudo add-apt-repository ppa:otto-kesselgulasch/gimp

技术分享
 
图2

sudo apt-get update

技术分享
 
图3

1.1.2. 安装 GIMP。

sudo apt-get install gimp gimp-plugin-registry gimp-data-extras

技术分享
 
图4

1.2. 已安装 GIMP 直接升级

1.2.1. 新增软件来源。

sudo add-apt-repository ppa:otto-kesselgulasch/gimp [Enter]

1.2.2. 更新软件来源并升级 (若升级失败再接着看 1.2.3, 若成功请略过 1.2.3 ~ 1.2.6)。

sudo apt-get update && sudo apt-get dist-upgrade [Enter]
The following NEW packages will be installed:
    libbabl-0.1-0{a} libgegl-0.2-0{a} libopenraw1{a} 
The following packages will be REMOVED:
    libbabl-0.0-0{u} libgegl-0.0-0{u} 
The following packages will 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 will be used.
Do you want to continue? [Y/n/?]

1.2.3. 修复软件库 (可能无法修复成功)。

sudo apt-get install -f [Enter]
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
    gimp
Suggested packages:
    gimp-data-extras
The following packages will 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 will be used.
Do you want to continue [Y/n]?

1.2.4. 手动强制移除 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. 更新软件库。

[ 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 will 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 will be used.
Do you want to continue [Y/n]? y

1.2.6. 安装 GIMP。

[ www.linuxidc.com @linuxidc: ~ ]
$ sudo aptitude install gimp gimp-plugin-registry gimp-data-extras [Enter]

Linux--安装及升级 GIMP

标签:

原文地址:http://www.cnblogs.com/zrui513/p/4997384.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!