This will return results similar to the following:
Matched packages:
================= Package Stable/(Latest) Local
Cache 1.5.4 Framework for caching of arbitrary data.
Cache_Lite 1.3 Fast and Safe little cache system
memcache 1.1 memcached extension
According to this listing, there are three packages that deal with caching; however, not much else is given in the way of helpful information about these packages. To retrieve useful information about a package, use the remote-info command: pear remote-info Cache. This will return a detailed listing about the package, including its maintainers, release date, license type, status, and more.
NOTE
By default, the PPM's master_server parameter is set to . This means that the PPM will use that server to check for and download packages. This can be changed with the pear config-set command. This chapter assumes the use of as the master server in all examples.
Installing and Upgrading Packages
The PPM may be used to install PEAR packages directly from the code repository. They do not even need to be downloaded from the website; the PPM takes care of this. In addition, the pear install command checks for package dependencies before proceeding with the install. If necessary, it will fail as it does in the following example: