pear command

install package

自網路安裝某一個pear程式庫:

  pear install packagename

下載 packages 但不安裝:

  pear download packagename   pear download-all

安裝已下載的package:

  pear install filename.tgz

listing package

目前pear網站上所有可取得pear程式庫列表:

  pear remote-list

列出已安裝package:

  pear list

列出可以升級的package:

  pear list-upgrades

upgrade

更新package:

  pear upgrade packagename   pear upgrade-all

remove

刪除已安裝的package:

  pear uninstall packagename