cvs: peardoc /en/chapters installation.xml

From: Date: Sun, 27 Jul 2003 17:48:22 +0000
Subject: cvs: peardoc /en/chapters installation.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-1113@lists.php.net to get a copy of this message
arnaud Sun Jul 27 13:48:22 2003 EDT Modified files: /peardoc/en/chapters installation.xml Log: * rework attempt on installaion notes Index: peardoc/en/chapters/installation.xml diff -u peardoc/en/chapters/installation.xml:1.4 peardoc/en/chapters/installation.xml:1.5 --- peardoc/en/chapters/installation.xml:1.4 Sun Jun 15 04:29:39 2003 +++ peardoc/en/chapters/installation.xml Sun Jul 27 13:48:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING THIS DOCUMENT YET. @@ -32,9 +32,9 @@ </para> <para> The packages that are not part of the PFC can be installed with the PEAR - package manager. The manager is comparable to Debian's + package manager. The manager is comparable to Debian's <quote>apt-get</quote>. Again: If you are running a recent version of PHP - (&gt; 4.3.0pre1) you can skip the next paragraph. But if you are + (&gt; 4.3.0) you can skip the next paragraph. But if you are running PHP 4.2.* or earlier, you need to manually install the manager. </para> <para> @@ -49,33 +49,58 @@ <sect1 id="installation.getting"> <title>Getting the PEAR package manager</title> <simpara> - For all of you that are not using the latest version of PHP - (&gt; 4.3.0pre1) we provide a provisional way to install the PEAR - package manager that is described on this page. + Linux: From PHP &gt; 4.3.0 the PEAR Package Manager is installed + if no ./configure --without-pear was specified. Under window </simpara> + <note> + <para> + Some Linux distributions (e.g. Redhat) seem to be using + <filename>links</filename> instead of <filename>lynx</filename> + as the name for their command line browser. If this is the case + for you, you need to change the above line correspondingly. + </para> + </note> <simpara> - Right now you can use a shell script that resides on go-pear.org - to install the PEAR base classes and the PEAR package manager. - Simply run + Windows: From PHP &gt; 4.3.2 the go-pear script is bundled. Please + execute (double click on under Windows Explorer and the like) </simpara> <para> <screen> <userinput> -&dollar; lynx -source http://go-pear.org | php -q +drive:path\to\php\go-pear.bat </userinput> </screen> </para> <simpara> - on your console window and the rest should be done automatically. + Answer all relevant questions. + This should install the PEAR Package Manager in the path you specified. + Add this path to your PATH environment (start > control panel > system + > environment), type pear in a prompt and the magic should operate. </simpara> - <note> - <para> - Some Linux distributions (e.g. Redhat) seem to be using - <filename>links</filename> instead of <filename>lynx</filename> - as the name for their command line browser. If this is the case - for you, you need to change the above line correspondingly. - </para> - </note> + <simpara> + For all of you who are not using the latest version of PHP + (&gt; 4.3.0) or wish to reinstall the Package Manager + a provisional way is provided. + You can execute the following command under linux + </simpara> + <para> + <screen> + <userinput> +&dollar; lynx -source http://go-pear.org | php + </userinput> + </screen> + </para> + <simpara> + Under windows download the script from go-pear.org, + save it and run the following command + </simpara> + <para> + <screen> + <userinput> +php go-pear (or whatever you named the file) + </userinput> + </screen> + </para> </sect1> <sect1 id="installation.cli"> <title>Command line installer</title>

« previous php.pear.doc (#1113) next »