PEAR(1)
π PEAR(1) β User commands, but make it a vibe β¨
okay bestie, sit down, hydrate, because we're about to talk about PEAR β the PHP Extension and Application Repository installer β and also its two chaotic siblings pecl and peardev. no cap, this is the whole manual, nothing skipped, so grab a snack π
πΈ NAME πΈ
pear, pecl, peardev β the PEAR installer. that's the trio. three names, one whole ecosystem of install-y goodness π«Ά
β¨ SYNOPSIS β¨
like, the shape of it. all three of them take the same deal:
pear [ options ] command [command-options] <parameters>
pecl [ options ] command [command-options] <parameters>
peardev [ options ] command [command-options] <parameters>
options first, then the command, then that command's own options, then the parameters. it's giving very "recipe steps, don't skip ahead" π
π¦ DESCRIPTION π¦
PEAR is the PHP Extension and Application Repository, and you can find it at http://pear.php.net. iconic. legendary. the whole thing.
- the
pearcommand is the one you use to install PEAR extensions π - the
peclcommand is the one you use to install PECL extensions π - the
peardevcommand is a wrapper aroundpearthat removes the normal configured memory limit. yes really. it just. takes the leash off. π
π OPTIONS π
here's every single flag, no gatekeeping:
-vβ crank the verbosity up a level (default is1) π-qβ be quiet, turn the verbosity down π€«-cfile β look for the user configuration in file-Cfile β look for the system configuration in file-dfoo=bar β set the user config variable foo to bar βοΈ-Dfoo=bar β set the system config variable foo to bar-Gβ start in graphical (Gtk) mode πΌοΈ-Sβ store system configuration-sβ store user configuration-yfoo β unset foo in the user configuration ποΈ-Vβ version information, for when you gotta know-hand-?β display help/usage π
π COMMANDS π
the whole menu, bestie. every single one:
buildβ Build an Extension From C Source π¨bundleβ Unpacks a Pecl Packagechannel-addβ Add a Channelchannel-aliasβ Specify an alias to a channel namechannel-deleteβ Remove a Channel From the Listchannel-discoverβ Initialize a Channel from its serverchannel-infoβ Retrieve Information on a Channelchannel-loginβ Connects and authenticates to remote channel server πchannel-logoutβ Logs out from the remote channel serverchannel-updateβ Update an Existing Channelclear-cacheβ Clear Web Services Cache π§Ήconfig-createβ Create a Default configuration fileconfig-getβ Show One Settingconfig-helpβ Show Information About Settingconfig-setβ Change Settingconfig-showβ Show All Settingsconvertβ Convert a package.xml 1.0 to package.xml 2.0 formatcvsdiffβ Run a "cvs diff" for all files in a packagecvstagβ Set CVS Release Tagdownloadβ Download Package β¬οΈdownload-allβ Downloads each available package from the default channelinfoβ Display information about a packageinstallβ Install Package β¨listβ List Installed Packages In The Default Channellist-allβ List All Packageslist-channelsβ List Available Channelslist-filesβ List Files In Installed Packagelist-upgradesβ List Available Upgradesloginβ Connects and authenticates to remote server [Deprecated in favor ofchannel-login] β οΈlogoutβ Logs out from the remote server [Deprecated in favor ofchannel-logout] β οΈmake-rpm-specβ Builds an RPM spec file from a PEAR packagemakerpmβ Builds an RPM spec file from a PEAR packagepackageβ Build Package π¦package-dependenciesβ Show package dependenciespackage-validateβ Validate Package Consistencypickleβ Build PECL Packageremote-infoβ Information About Remote Packagesremote-listβ List Remote Packagesrun-scriptsβ Run Post-Install Scripts bundled with a packagerun-testsβ Run Regression Tests π§ͺsearchβ Search remote package database πshell-testβ Shell Script Testsignβ Sign a package distribution file βοΈsvntagβ Set SVN Release Taguninstallβ Un-install Packageupdate-channelsβ Update the Channel Listupgradeβ Upgrade Packageupgrade-allβ Upgrade All Packages [Deprecated in favor of callingupgradewith no parameters] β οΈ
not me clocking thatloginandlogoutare deprecated in favor ofchannel-loginandchannel-logout, andupgrade-allis deprecated in favor of callingupgradewith no parameters. read the brackets, they're telling you something π
π FILES π
where the config actually lives, iykyk:
/etc/pear.confβ The system configuration file.$HOME/.pearrcβ The user configuration.
π SEE ALSO π
to list all options, use:
pear help options
to list all command shortcuts, use:
pear help shortcuts
to get the help for the specified command, use:
pear help command
documentation for PEAR can be found at http://pear.php.net/manual/ π
β VERSION INFORMATION β
this manpage describes PEAR, version 1.10.0. yes, 1.10.0, exact, don't @ me π
π§ COPYRIGHT π§
Copyright Β© 1997-2009 Stig Bakken, Gregory Beaver, Helgi Γormar ΓorbjΓΆrnsson, Tomas V.V.Cox, Martin Jansen. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
that's the whole thing, bestie. both bullets, all the names, all the years. do not skip the license, the license is not a vibe, the license is a rule π«‘
π₯ BUGS π₯
you can view the list of known bugs or report any new bug you found at:
go forth and file, king π
and that's the whole page! brought to you by The PEAR Group, back in 2013 β yeah, 2013, this manual has been slaying since before some of us could walk πβ¨ mwah π
π¦ where this page comes from
- centos-stream 10: php-pear 1:1.10.14-6.el10 Β· BSD-2-Clause AND BSD-3-Clause AND LGPL-3.0-or-later
- centos-stream 9: php-pear 1:1.10.14-1.el9 Β· BSD-2-Clause AND BSD-3-Clause AND LGPL-3.0-or-later
- fedora 43: php-pear 1:1.10.16-4.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND LGPL-3.0-or-later
- fedora 43: php-pear 1:1.10.17-1.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND LGPL-3.0-or-later
- fedora 44: php-pear 1:1.10.18-1.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND LGPL-3.0-or-later
- fedora 44: php-pear 1:1.10.18-2.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms