Re: installing pear

From: Date: Tue, 10 Sep 2002 00:39:39 +0000
Subject: Re: installing pear
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2276@lists.php.net to get a copy of this message
Maxim, 02:38:36 10. september 2002 (utorok) Greetings. > Do I need a connection to the Internet to use the go-pear script? How can > I install the PEAR package manager (or a PEAR package, particulary Cache) > without directly accessing the Internet? > system OS: Tru64 4.0F > PHP version: 4.2.1 > Cache version: latest (1.5.2) If you have checkouted fresh CVS copy, you can use standart `pear' command to install or upgrade PEAR packages. I'm using this four command combo each week after few CVS updates. You should specify your paths to CVS directories as well. find /home/ondrej/prog/CVS-others/pear/ -type f -name 'package*.xml' -exec pear install {} \;; find /home/ondrej/prog/CVS-others/php4/ -type f -name 'package*.xml' -exec pear install {} \;; find /home/ondrej/prog/CVS-others/pear/ -type f -name 'package*.xml' -exec pear upgrade {} \;; find /home/ondrej/prog/CVS-others/php4/ -type f -name 'package*.xml' -exec pear upgrade {} \;; My system is RPM based, but since `pear' command writes only into /usr/share/pear/ directory, it is easy to get system again into consistent state with just removing which pear script and also removing mentioned /usr/share/pear/ directory. I don't know if this is an official way, but it worked for me well. Btw. it seems to be much simplier than any Perl package installation or upgrade. ;-) Hope it helps, =Nepto= ____________________________________________________________________________ Ondrej 'Nepto' Jombik, perl -le '$_=1;(1x$_)!~/^(11+)\1+$/&&print while$_++'

« previous php.pear.general (#2276) next »