Install Package
doInstall
i
f
will overwrite newer installed packages
l
do not check for recommended dependency version
n
ignore dependencies, install anyway
r
do not install files, only register the package as installed
s
soft install, fail silently, or upgrade if already installed
B
don't build C extensions
Z
request uncompressed files when downloading
R
DIR
root directory used when installing files (ala PHP's INSTALL_ROOT), use packagingroot for RPM
P
DIR
root directory used when packaging files, like RPM packaging
force install even if there were errors
a
install all required and optional dependencies
o
install all required dependencies
O
do not attempt to download any urls or contact channels
p
Only list the packages that would be downloaded
[channel/]<package> ...
Installs one or more PEAR packages. You can specify a package to
install in four ways:
"Package-1.0.tgz" : installs from a local file
"http://example.com/Package-1.0.tgz" : installs from
anywhere on the net.
"package.xml" : installs the package described in
package.xml. Useful for testing, or for wrapping a PEAR package in
another package manager such as RPM.
"Package[-version/state][.tar]" : queries your default channel's server
({config master_server}) and downloads the newest package with
the preferred quality/state ({config preferred_state}).
To retrieve Package version 1.1, use "Package-1.1," to retrieve
Package state beta, use "Package-beta." To retrieve an uncompressed
file, append .tar (make sure there is no file by the same name first)
To download a package from another channel, prefix with the channel name like
"channel/Package"
More than one package may be specified at once. It is ok to mix these
four ways of specifying packages.
Upgrade Package
doInstall
up
f
overwrite newer installed packages
l
do not check for recommended dependency version
n
ignore dependencies, upgrade anyway
r
do not install files, only register the package as upgraded
B
don't build C extensions
Z
request uncompressed files when downloading
R
DIR
root directory used when installing files (ala PHP's INSTALL_ROOT)
force install even if there were errors
a
install all required and optional dependencies
o
install all required dependencies
O
do not attempt to download any urls or contact channels
p
Only list the packages that would be downloaded
<package> ...
Upgrades one or more PEAR packages. See documentation for the
"install" command for ways to specify a package.
When upgrading, your package will be updated if the provided new
package has a higher version number (use the -f option if you need to
upgrade anyway).
More than one package may be specified at once.
Upgrade All Packages
doInstall
ua
n
ignore dependencies, upgrade anyway
r
do not install files, only register the package as upgraded
B
don't build C extensions
Z
request uncompressed files when downloading
R
DIR
root directory used when installing files (ala PHP's INSTALL_ROOT)
force install even if there were errors
do not check for recommended dependency version
Upgrades all packages that have a newer release available. Upgrades are
done only if there is a release available of the state specified in
"preferred_state" (currently {config preferred_state}), or a state considered
more stable.
Un-install Package
doUninstall
un
n
ignore dependencies, uninstall anyway
r
do not remove files, only register the packages as not installed
R
DIR
root directory used when installing files (ala PHP's INSTALL_ROOT)
force install even if there were errors
O
do not attempt to uninstall remotely
[channel/]<package> ...
Uninstalls one or more PEAR packages. More than one package may be
specified at once. Prefix with channel name to uninstall from a
channel not in your default channel ({config default_channel})
Unpacks a Pecl Package
doBundle
bun
d
DIR
Optional destination directory for unpacking (defaults to current path or "ext" if exists)
f
Force the unpacking even if there were errors in the package
<package>
Unpacks a Pecl Package into the selected location. It will download the
package if needed.
Run Post-Install Scripts bundled with a package
doRunScripts
rs
<package>
Run post-installation scripts in package <package>, if any exist.