Kapitel 2. Installation

Inhaltsverzeichnis
Introduction
Getting the PEAR package manager
Command line installer
CVS installer

This chapter describes, how to install packages from PEAR.

Introduction

This chapter requires that you are already familiar with the general structure of PEAR.

The base installation that comes with the PHP distribution as part of the PFC, contains all the stuff that is needed to run the PEAR installation tools etc. If you have a recent installation of PHP 4, you can relax: The PEAR base installation is already installed on your system, unless you have compiled your PHP with the ./configure flag '--without-pear'.

The packages that are not part of the PFC can be installed with the PEAR package manager. The manager is comparable to Debian's „apt-get“. Again: If you are running a recent version of PHP (> 4.3.0pre1) you can skip the next paragraph. If you running PHP 4.2.* or earlier, you need to manually install the manager.

Apart from installing packages, the PEAR package manager also handles some other tasks: It can create new packages on your machine, manage a registry of installed packages, check dependencies and it can interact with an XML-RPC service on pear.php.net to serve some other tasks.