cvs: peardoc /en/chapters installation.xml
| From: | Lorenzo Alberton | 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>
<package> 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 "-beta" suffix:
+ you can force the installation by adding a "-beta" or
"-alpha"
+ 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
+ "-f" switch to force the installation, or setting the
+ preferred_state to beta. Any of the following commands will do:
+ </para>
+ <para>
+ <screen>
+ <userinput>
+$ pear config-set preferred_state beta
+$ pear install <package>
+$ pear config-set preferred_state stable
+ </userinput>
+ </screen>
+ </para>
+ <para>
+ <screen>
+ <userinput>
+$ pear -d preferred_state=beta install <package>
+ </userinput>
+ </screen>
+ </para>
+ <para>
+ <screen>
+ <userinput>
+$ pear install -f <package>
+ </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>
$ pear remote-list