[[email protected] ~]# wget http://pear.php.net/go-pear.phar --2012-05-29 19:01:16-- http://pear.php.net/go-pear.phar Resolving pear.php.net... 78.129.214.25 Connecting to pear.php.net|78.129.214.25|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3681106 (3.5M) [application/octet-stream] Saving to: go-pear.phar 100%[======================================>] 3,681,106 272K/s in 11s 2012-05-29 19:01:27 (337 KB/s) - âgo-pear.pharâ [[email protected] ~]# php go-pear.phar Below is a suggested file layout for your new PEAR installation. To change individual locations, type the number in front of the directory. Type 'all' to change all of them or simply press Enter to accept these locations. 1. Installation base ($prefix) : /usr 2. Temporary directory for processing : /tmp/pear/install 3. Temporary directory for downloads : /tmp/pear/install 4. Binaries directory : /usr/bin 5. PHP code directory ($php_dir) : /usr/share/pear 6. Documentation directory : /usr/docs 7. Data directory : /usr/data 8. User-modifiable configuration files directory : /usr/cfg 9. Public Web Files directory : /usr/www 10. Tests directory : /usr/tests 11. Name of configuration file : /etc/pear.conf 1-11, 'all' or Enter to continue: Beginning install... Configuration written to /etc/pear.conf... Initialized registry... Preparing to install... installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.7.tar... installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.0.tar... installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.4.tar... installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar... installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar... install ok: channel://pear.php.net/Archive_Tar-1.3.7 install ok: channel://pear.php.net/Console_Getopt-1.3.0 install ok: channel://pear.php.net/Structures_Graph-1.0.4 install ok: channel://pear.php.net/XML_Util-1.2.1 install ok: channel://pear.php.net/PEAR-1.9.4 PEAR: Optional feature webinstaller available (PEAR's web-based installer) PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer) PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer) PEAR: To install optional features use "pear install pear/PEAR#featurename" The 'pear' command is now at your service at /usr/bin/pear ** The 'pear' command is not currently in your PATH, so you need to ** use '/usr/bin/pear' until you have added ** '/usr/bin' to your PATH environment variable. Run it without parameters to see the available actions, try 'pear list' to see what packages are installed, or 'pear help' for help. For more information about PEAR, see: http://pear.php.net/faq.php http://pear.php.net/manual/ Thanks for using go-pear! [[email protected] ~]# pear install HTTP_OAuth Failed to download pear/HTTP_OAuth within preferred state "stable", latest release is version 0.2.3, stability "alpha", use "channel://pear.php.net/HTTP_OAuth-0.2.3" to install install failed [[email protected] ~]# pear install HTTP_OAuth channel://pear.php.net/HTTP_OAuth-0.2.3 Failed to download pear/HTTP_OAuth within preferred state "stable", latest release is version 0.2.3, stability "alpha", use "channel://pear.php.net/HTTP_OAuth-0.2.3" to install WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update Did not download optional dependencies: pear/Log, pear/Cache_Lite, use --alldeps to download automatically pear/HTTP_OAuth can optionally use package "pear/Log" pear/HTTP_OAuth can optionally use package "pear/Cache_Lite" pear/HTTP_OAuth can optionally use PHP extension "pecl_http" (version >= 1.6.0) downloading HTTP_OAuth-0.2.3.tgz ... Starting to download HTTP_OAuth-0.2.3.tgz (54,213 bytes) .............done: 54,213 bytes downloading HTTP_Request2-2.1.1.tgz ... Starting to download HTTP_Request2-2.1.1.tgz (99,151 bytes) ...done: 99,151 bytes downloading Net_URL2-2.0.0.tgz ... Starting to download Net_URL2-2.0.0.tgz (11,325 bytes) ...done: 11,325 bytes install ok: channel://pear.php.net/Net_URL2-2.0.0 install ok: channel://pear.php.net/HTTP_Request2-2.1.1 install ok: channel://pear.php.net/HTTP_OAuth-0.2.3 [[email protected] ~]#