Solaris 10卸載軟件命令
安裝Solaris 10 後,默認會安裝很多用不到的軟件,而只想保留開發環境。
www.2cto.com
以卸載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
卸載軟件包:
www.2cto.com
# 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。