root@eray-ubuntu:/home/eray# wget http://pear.php.net/go-pear.phar
--2012-01-21 19:42:56-- http://pear.php.net/go-pear.phar
pear.php.net çözümleniyor... 78.129.214.25
pear.php.net[78.129.214.25]:80 bağlanılıyor... bağlantı kuruldu.
HTTP isteği gönderildi, cevap bekleniyor... 200 OK
Uzunluk: 3681106 (3,5M) [application/octet-stream]
Kayıt yeri: `go-pear.phar.1'
100%[======================================>] 3.681.106 806K/s in 5,7s
2012-01-21 19:43:02 (628 KB/s) - `go-pear.phar.1' kaydedildi [3681106/3681106]
root@eray-ubuntu:/home/eray# 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/php
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:///home/eray/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.7.tar...
installing phar:///home/eray/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.0.tar...
installing phar:///home/eray/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.4.tar...
installing phar:///home/eray/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar...
installing phar:///home/eray/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
ERROR: Unknown Role class: "PEAR_Installer_Role_Pear_Installer_role_php"
ERROR: Unknown Role class: "PEAR_Installer_Role_Pear_Installer_role_php"
ERROR: Unknown Role class: "PEAR_Installer_Role_Pear_Installer_role_doc"
ERROR: Unknown Role class: "PEAR_Installer_Role_Pear_Installer_role_doc"
ERROR: Unknown Role class: "PEAR_Installer_Role_Pear_Installer_role_php"
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!
root@eray-ubuntu:/home/eray# pear version
PEAR Version: 1.9.2
PHP Version: 5.3.6-13ubuntu3.3
Zend Engine Version: 2.3.0
Running on: Linux eray-ubuntu 3.0.0-15-generic-pae #25-Ubuntu SMP Mon Jan 2 19:40:15 UTC 2012 i686
root@eray-ubuntu:/home/eray# /usr/bin/pear version
PEAR Version: 1.9.2
PHP Version: 5.3.6-13ubuntu3.3
Zend Engine Version: 2.3.0
Running on: Linux eray-ubuntu 3.0.0-15-generic-pae #25-Ubuntu SMP Mon Jan 2 19:40:15 UTC 2012 i686
root@eray-ubuntu:/home/eray#