Solaris 10 卸載軟件

安裝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。



 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章