Pear will not remove

I recently successfully removed a pear using the following command:

$ sudo pear uninstall pear

So, I recently reinstalled it, but I messed up the installation, and I want to start over (again). This time, when I ran the above command, the pear gives me this message:

pear/pear not installed

Any suggestions?

+4
source share
2 answers

PEAR is just a bunch of php scripts. To remove it manually, simply remove /usr/share/php/PEAR (the path may vary depending on the distribution)

+6
source

Refer to the correct method for installing and removing the pear:

http://pear.php.net/manual/en/installation.getting.php

-3
source

Source: https://habr.com/ru/post/1384206/


All Articles