10.4. Installing Packages

This section covers how to maintain your collection of installed packages. The following examples all assume that you have the PEAR Installer installed and configured.

The PEAR Installer comes with different user interfaces, called front-ends. The default front-end that is installed by go-pear along with PHP is the command-line (CLI) front-end. You will see a presentation of two graphical front-ends too, one that is browser-based and one that is Gtk-based.

10.4.1. Using the pear Command

The pear command is the main installation tool for PEAR. It has several sub-commands, such as install and upgrade, and runs on all platforms PEAR supports: UNIX, Windows, and Darwin.

The first subcommand you should be familiar with is ...

Get PHP 5 Power Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.