CHAPTER 10 – PEAR COMMANDS – pear uninstall
To delete a package, you must uninstall it. Here's an example: $ pear uninstall Cache Warning: Package 'services_weather' optionally depends on 'Cache' uninstall ok: Cache The uninstall command has three options: pear uninstall [options] <package> ... Uninstalls one or more PEAR packages. More than one package may be specified at once. Options: -n, --nodeps ignore dependencies, uninstall anyway -r, --register-only do not remove files, only register the packages as not installed -R DIR, --installroot=DIR root directory used when installing files (ala PHP's INSTALL_ROOT) --ignore-errors force install even if there were errors These options all correspond to the same options to the install command.