安装Solaris 10 后,默认会安装很多用不到的软件,而只想保留开发环境。
以卸载pidgin为例,在启动菜单的pidgin启动项邮件属性面板中,看到命令为pidgin。
需要先定位程序所在位置:
# which pidgin
/usr/bin/pidgin
查看软件包信息:
# pkgchk -lp /usr/bin/pidgin
Pathname: /usr/bin/pidgin
Type: regular file
Expected mode: 0755
Expected owner: root
Expected group: other
Expected file size (bytes): 910236
Expected sum(1) of contents: 27126
Expected last modification: 3月 08 03时33分12秒 2011
Referenced by the following packages:
SUNWgnome-im-client
Current status: installed
卸载软件包:
# pkgrm SUNWgnome-im-client
下列软件包目前安装在本系统中:
SUNWgnome-im-client GNOME Multi-protocol instant messaging client
(i386) 2.7.0,REV=11.01.21.2011.03.07.19.33
您想删除这个软件包? [y,n,?,q]
......
一路y。