PEAR(1)

πŸ“¦
version 1.10.18 Β· 2 versions
, in centos-stream 10, centos-stream 9, fedora 43, fedora 44

πŸ’… 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 pear command is the one you use to install PEAR extensions πŸ’–
  • the pecl command is the one you use to install PECL extensions πŸ‘‘
  • the peardev command is a wrapper around pear that 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 is 1) πŸ”Š
  • -q β€” be quiet, turn the verbosity down 🀫
  • -c file β€” look for the user configuration in file
  • -C file β€” look for the system configuration in file
  • -d foo=bar β€” set the user config variable foo to bar ✍️
  • -D foo=bar β€” set the system config variable foo to bar
  • -G β€” start in graphical (Gtk) mode πŸ–ΌοΈ
  • -S β€” store system configuration
  • -s β€” store user configuration
  • -y foo β€” unset foo in the user configuration πŸ—‘οΈ
  • -V β€” version information, for when you gotta know
  • -h and -? β€” display help/usage πŸ†˜

πŸ‘‘ COMMANDS πŸ‘‘

the whole menu, bestie. every single one:

  • build β€” Build an Extension From C Source πŸ”¨
  • bundle β€” Unpacks a Pecl Package
  • channel-add β€” Add a Channel
  • channel-alias β€” Specify an alias to a channel name
  • channel-delete β€” Remove a Channel From the List
  • channel-discover β€” Initialize a Channel from its server
  • channel-info β€” Retrieve Information on a Channel
  • channel-login β€” Connects and authenticates to remote channel server πŸ”
  • channel-logout β€” Logs out from the remote channel server
  • channel-update β€” Update an Existing Channel
  • clear-cache β€” Clear Web Services Cache 🧹
  • config-create β€” Create a Default configuration file
  • config-get β€” Show One Setting
  • config-help β€” Show Information About Setting
  • config-set β€” Change Setting
  • config-show β€” Show All Settings
  • convert β€” Convert a package.xml 1.0 to package.xml 2.0 format
  • cvsdiff β€” Run a "cvs diff" for all files in a package
  • cvstag β€” Set CVS Release Tag
  • download β€” Download Package ⬇️
  • download-all β€” Downloads each available package from the default channel
  • info β€” Display information about a package
  • install β€” Install Package ✨
  • list β€” List Installed Packages In The Default Channel
  • list-all β€” List All Packages
  • list-channels β€” List Available Channels
  • list-files β€” List Files In Installed Package
  • list-upgrades β€” List Available Upgrades
  • login β€” Connects and authenticates to remote server [Deprecated in favor of channel-login] ⚠️
  • logout β€” Logs out from the remote server [Deprecated in favor of channel-logout] ⚠️
  • make-rpm-spec β€” Builds an RPM spec file from a PEAR package
  • makerpm β€” Builds an RPM spec file from a PEAR package
  • package β€” Build Package πŸ“¦
  • package-dependencies β€” Show package dependencies
  • package-validate β€” Validate Package Consistency
  • pickle β€” Build PECL Package
  • remote-info β€” Information About Remote Packages
  • remote-list β€” List Remote Packages
  • run-scripts β€” Run Post-Install Scripts bundled with a package
  • run-tests β€” Run Regression Tests πŸ§ͺ
  • search β€” Search remote package database πŸ”
  • shell-test β€” Shell Script Test
  • sign β€” Sign a package distribution file ✍️
  • svntag β€” Set SVN Release Tag
  • uninstall β€” Un-install Package
  • update-channels β€” Update the Channel List
  • upgrade β€” Upgrade Package
  • upgrade-all β€” Upgrade All Packages [Deprecated in favor of calling upgrade with no parameters] ⚠️
not me clocking that login and logout are deprecated in favor of channel-login and channel-logout, and upgrade-all is deprecated in favor of calling upgrade with 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 © 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:

http://pear.php.net/bugs/

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