PhpRiot
Follow phpriot on Twitter
Sponsored Link
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store
Free iPad/iPhone App
Available on the App Store

  • PHP manual
  • Zend Framework manual
  • Smarty manual
  • PHP articles
  • PHP training

uninstall - remove a package

Introduction

The uninstall command removes a package and accepts a list of installed packages to remove as arguments.

--plugin

Plugins (documented here) must be explicitly uninstalled with the -p or --plugin option. Plugins are installed into the location specified by the plugins_dir configuration variable, which defaults to the same location that the user configuration file is located ($HOME/.pear in unix, <My Documents>\pear on windows).

php pyrus.phar uninstall -p PEAR2_Pyrus_Developer

--force

The --force or -f option can be used to force uninstallation if there are errors. For instance, this can be used to override problems in dependency validation. As such, it should be used sparingly if at all. Better is to uninstall the packages tha depend on the package being uninstalled.

PEAR Manual