Source for file Install-init.php
Documentation is available at Install-init.php
// quick-load, small memory footprint command configuration
'summary' => 'Install Package',
'function' => 'doInstall',
'doc' => 'will overwrite newer installed packages',
'doc' => 'ignore dependencies, install anyway',
'register-only' => array (
'doc' => 'do not install files, only register the package as installed',
'doc' => 'soft install, fail silently, or upgrade if already installed',
'doc' => 'don\'t build C extensions',
'doc' => 'request uncompressed files when downloading',
'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT)',
'ignore-errors' => array (
'doc' => 'force install even if there were errors',
'doc' => 'install all required and optional dependencies',
'doc' => 'install all required dependencies',
'doc' => 'do not attempt to download any urls or contact channels',
'doc' => 'Only list the packages that would be downloaded',
'doc' => '[channel/]<package> ...
Installs one or more PEAR packages. You can specify a package to
"Package-1.0.tgz" : installs from a local file
"http://example.com/Package-1.0.tgz" : installs from
"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
More than one package may be specified at once. It is ok to mix these
four ways of specifying packages.
'summary' => 'Upgrade Package',
'function' => 'doInstall',
'doc' => 'overwrite newer installed packages',
'doc' => 'ignore dependencies, upgrade anyway',
'register-only' => array (
'doc' => 'do not install files, only register the package as upgraded',
'doc' => 'don\'t build C extensions',
'doc' => 'request uncompressed files when downloading',
'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT)',
'ignore-errors' => array (
'doc' => 'force install even if there were errors',
'doc' => 'install all required and optional dependencies',
'doc' => 'install all required dependencies',
'doc' => 'do not attempt to download any urls or contact channels',
'doc' => 'Only list the packages that would be downloaded',
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
More than one package may be specified at once.
'summary' => 'Upgrade All Packages',
'function' => 'doInstall',
'doc' => 'ignore dependencies, upgrade anyway',
'register-only' => array (
'doc' => 'do not install files, only register the package as upgraded',
'doc' => 'don\'t build C extensions',
'doc' => 'request uncompressed files when downloading',
'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT)',
'ignore-errors' => array (
'doc' => 'force install even if there were errors',
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
'summary' => 'Un-install Package',
'function' => 'doUninstall',
'doc' => 'ignore dependencies, uninstall anyway',
'register-only' => array (
'doc' => 'do not remove files, only register the packages as not installed',
'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT)',
'ignore-errors' => array (
'doc' => 'force install even if there were errors',
'doc' => 'do not attempt to uninstall remotely',
'doc' => '[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})
'summary' => 'Unpacks a Pecl Package',
'function' => 'doBundle',
'doc' => 'Optional destination directory for unpacking (defaults to current path or "ext" if exists)',
'doc' => 'Force the unpacking even if there were errors in the package',
Unpacks a Pecl Package into the selected location. It will download the
'summary' => 'Run Post-Install Scripts bundled with a package',
'function' => 'doRunScripts',
Run post-installation scripts in package <package>, if any exist.
Documentation generated on Mon, 11 Mar 2019 14:15:32 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|