How to Install and Uninstall php-pear Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "php-pear" package

Please follow the guidance below to install php-pear on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-pear

2. Uninstall "php-pear" package

Please follow the guidance below to uninstall php-pear on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-pear $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-pear package on Ubuntu 21.10 (Impish Indri)

Package: php-pear
Architecture: all
Version: 1:1.10.12+submodules+notgz+20210212-1ubuntu1
Priority: optional
Section: php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2081
Provides: php-console-getopt, php-structures-graph, php-xml-util
Depends: php-cli, php-common, php-xml
Breaks: php-pear-frontend-gtk (<< 0.4.0), php-pear-frontend-web (<= 0.4)
Filename: pool/main/p/php-pear/php-pear_1.10.12+submodules+notgz+20210212-1ubuntu1_all.deb
Size: 292570
MD5sum: e94496ab8bde2e900a4117651f64e04f
SHA1: ce9c9f92a670a7343498d112a84cd3e536b4bc76
SHA256: cb7c57d22db2c8223612fe8c9086ef662222dba6d831f1775e613940737db5f9
SHA512: ed312685411826787b0c9220c678f81b9a85425812191f5c76140a67a73278bc0f048f44a267e2d2c3932fbc598af7321c24c0c4bb56257f5dcf4ddafe959ed8
Homepage: https://pear.php.net/package/PEAR
Description-en: PEAR Base System
The PEAR package contains:
* the PEAR installer, for creating, distributing
and installing packages
* the PEAR_Exception PHP5 error handling mechanism
* the PEAR_ErrorStack advanced error handling mechanism
* the PEAR_Error error handling mechanism
* the OS_Guess class for retrieving info about the OS
where PHP is running on
* the System class for quick handling of common operations
with files and directories
* the PEAR base class
Features in a nutshell:
* full support for channels
* pre-download dependency validation
* new package.xml 2.0 format allows tremendous flexibility while maintaining
BC
* support for optional dependency groups and limited support for
sub-packaging
* robust dependency support
* full dependency validation on uninstall
* remote install for hosts with only ftp access - no more problems with
restricted host installation
* full support for mirroring
* support for bundling several packages into a single tarball
* support for static dependencies on a url-based package
* support for custom file roles and installation tasks
Description-md5: 04474ef785f71038c83c6c66703e837b