Installing PEAR with pear, a transcript
| From: | Brent Cook | Date: | Wed, 17 Apr 2002 15:31:56 +0000 |
| Subject: | Installing PEAR with pear, a transcript | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1164@lists.php.net to get a copy of this message | ||
So, I tried to install a PEAR module using the installer for the first
time and am having trouble with it. First, I installed the newest package
manager with lynx -source http://pear.php.net/~cox/go-pear | sh.
Then, I tried using it. A transcript:
ozma:~# pear list-remote-packages
ozma:~# pear list-upgrades
Available Upgrades (stable):
============================
+---------+---------+------+
| Package | Version | Size |
+---------+---------+------+
ozma:~# pear list-installed
Installed packages:
===================
+-----------------------------+
| (no packages installed yet) |
+-----------------------------+
ozma:~# pear config-show
Configuration:
==============
bin_dir /usr/local/bin
doc_dir /usr/local/share/php/doc/pear
ext_dir /usr/local/lib/php/20010901
master_server pear.php.net
password <not set>
php_dir <not set>
preferred_state stable
username <not set>
verbose 1
ozma:~# pear install http://pear.php.net/get/PHPUnit-0.1.tgz
downloading http://pear.php.net/get/PHPUnit-0.1.tgz ...
...done: 5,891 bytes
warning : you are using an archive with an old format
no package.xml file after extracting the archive
ozma:~# pear list-installed
Installed packages:
===================
+-----------------------------+
| (no packages installed yet) |
+-----------------------------+
ozma:~#
Is this what is supposed to happen? I must have done something wrong.
Thanks, Brent