2014年6月18日 星期三

pkgutil - Installs Solaris packages easily


http://www.opencsw.org/package/pkgutil/
http://pkgutil.net/

安裝pkgutil
pkgadd -d http://get.opencsw.org/now
/opt/csw/bin/pkgutil -U
/opt/csw/bin/pkgutil -a vim
/opt/csw/bin/pkgutil -y -i vim

幾個常用的指令如下:
  • 更新套件清單
    /opt/csw/bin/pkgutil -U
  • 可用套件清單
    /opt/csw/bin/pkgutil -a
  • 安裝套件
    /opt/csw/bin/pkgutil -i [name]
  • 升級套件
    /opt/csw/bin/pkgutil -u [name]
  • 檢查套件是否有新版
    /opt/csw/bin/pkgutil -c
OpenCSW (pronounced open-cashew /ˈkæʃuː/) is an easy to use open source software distribution installable on top of Solaris and Solaris-based systems. OpenCSW is a community project dedicated to working closely with upstream projects to improve portability of open source software.

沒有留言:

張貼留言