[commits] [Wiki] created: UninstallPEAR

Jan Schneider jan at horde.org
Thu Sep 15 16:24:56 UTC 2011


jan  Thu, 15 Sep 2011 16:24:56 +0000

Created page: http://wiki.horde.org/UninstallPEAR

+ Uninstalling all Horde (4+) PEAR packages

Sometimes you want to start a Horde installation from scratch because  
something went wrong during installation. If you did not install into  
a separate PEAR directory, of if that separate installation went  
wrong, you cannot simply remove one folder to have all Horde  
components installed. The files from the PEAR packages might be  
installed at several places, depending in your PEAR configuration.

As long as your PEAR installation is still functional and still lists  
all Horde PEAR packages (check with {{pear list -c horde}}), you can  
use the following command to uninstall all Horde PEAR packages at once:

<code type="sh">
pear uninstall `pear list -c horde | tail -n +4 | awk '{ print "horde/"$1 }'`
</code>

If you installed into a separate PEAR directory, make sure to use the  
correct pear command and flags again, e.g.:

<code type="sh">
/var/www/horde/pear/pear -c /var/www/horde/pear.conf uninstall \\

`/var/www/horde/pear/pear -c /var/www/horde/pear.conf list -c horde  
|tail -n +4|awk '{ print "horde/"$1 }'`
</code>



More information about the commits mailing list