cvs: peardoc /en/chapters installation.xml

From: Date: Wed, 27 Sep 2006 17:40:53 +0000
Subject: cvs: peardoc /en/chapters installation.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8535@lists.php.net to get a copy of this message
quipo Wed Sep 27 17:40:53 2006 UTC Modified files: /peardoc/en/chapters installation.xml Log: expand documentation of beta or alpha packages installation http://cvs.php.net/viewvc.cgi/peardoc/en/chapters/installation.xml?r1=1.44&r2=1.45&diff_format=u Index: peardoc/en/chapters/installation.xml diff -u peardoc/en/chapters/installation.xml:1.44 peardoc/en/chapters/installation.xml:1.45 --- peardoc/en/chapters/installation.xml:1.44 Wed Sep 27 12:48:01 2006 +++ peardoc/en/chapters/installation.xml Wed Sep 27 17:40:53 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.44 $ --> +<!-- $Revision: 1.45 $ --> <chapter id="installation"> <chapterinfo> <author> @@ -175,14 +175,12 @@ </para> <para> &lt;package&gt; has to be replaced with the name of the package - you want to install (e.g. HTTP_Upload). To get a list of the - available packages, you can point your browser to the <ulink - url="&url.pear.package.browse;">PEAR package browser</ulink> or you - can run: + you want to install (e.g. HTTP_Upload). </para> <para> If the wanted package has not reached a stable release yet, - you can force the installation by adding a &quot;-beta&quot; suffix: + you can force the installation by adding a &quot;-beta&quot; or &quot;-alpha&quot; + suffix, depending on the current state of the package: </para> <para> <screen> @@ -192,6 +190,39 @@ </screen> </para> <para> + There are also other options to install a beta or alpha package, using the + &quot;-f&quot; switch to force the installation, or setting the + preferred_state to beta. Any of the following commands will do: + </para> + <para> + <screen> + <userinput> +&dollar; pear config-set preferred_state beta +&dollar; pear install &lt;package&gt; +&dollar; pear config-set preferred_state stable + </userinput> + </screen> + </para> + <para> + <screen> + <userinput> +&dollar; pear -d preferred_state=beta install &lt;package&gt; + </userinput> + </screen> + </para> + <para> + <screen> + <userinput> +&dollar; pear install -f &lt;package&gt; + </userinput> + </screen> + </para> + <para> + To get a list of the available packages, you can point your browser to the + <ulink url="&url.pear.package.browse;">PEAR package browser</ulink> or you + can run: + </para> + <para> <screen> <userinput> &dollar; pear remote-list

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