What is the command to uninstall a pear package?
+1
A:
pear uninstall package_name
You can read about it here in the PHP Cookbook
Ólafur Waage
2009-10-14 21:53:27
+1
A:
pear uninstall [options] [channel/]<package>
So if you wanted to uninstall PHPUnit
pear uninstall phpunit/PHPUnit
Note: remember to preface with sudo
or you won't have permission to uninstall anything.
Andrew
2009-10-14 21:53:48
Assuming you installed pear into a root only location. It's possible to setup pear to use your local user account (something like ~/PEAR) in which case the sudo isn't needed.
Alan Storm
2009-10-14 22:15:53
A:
If your on a RPM Linux Distro, it's simple with YUM
yum remove php-pear*
Phill Pafford
2009-10-15 12:06:19