Warning! This page has the following tags:

  • This page needs to be merged with docbook documentation.

The Agavi PEAR Channel

As of 0.10.2, Agavi is distributed via it's own PEAR channel.

In order to be able to use the channel, you have to discover it first:

pear channel-discover pear.agavi.org

After that, you can install Agavi:

pear install agavi/agavi

Since the package state is declared as alpha, you most likely have to set the preferred state first, because otherwise, PEAR will refuse to do the install:

pear config-set preferred_state alpha

Also, you need Phing. We reference the Phing PEAR Channel in our package, but PEAR will not detect it automatically by default. So you either have to manually discover the Phing channel and install Phing, or you do

pear config-set auto_discover 1

so this is done automatically.

Two wrap this all up, use

pear config-set preferred_state alpha
pear config-set auto_discover 1
pear channel-discover pear.agavi.org
pear install agavi/agavi

to install Agavi and all required dependencies (i.e. Phing), or

pear config-set preferred_state alpha
pear config-set auto_discover 1
pear channel-discover pear.agavi.org
pear install --alldeps agavi/agavi

to install Agavi and all optional dependencies (i.e. Phing + Creole + Propel).

That's it. Have fun :)