How to Install and Uninstall php-pear Package on Debian 12 (Bookworm)

Last updated: May 19,2024

1. Install "php-pear" package

In this section, we are going to explain the necessary steps to install php-pear on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-pear

2. Uninstall "php-pear" package

Please follow the guidance below to uninstall php-pear on Debian 12 (Bookworm):

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

3. Information about the php-pear package on Debian 12 (Bookworm)

Package: php-pear
Version: 1:1.10.13+submodules+notgz+2022032202-2+0~20230612.39+debian12~1.gbpfd4c1d
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 2083
Depends: php-cli, php-common, php-xml
Breaks: php-pear-frontend-gtk (<< 0.4.0), php-pear-frontend-web (<= 0.4)
Provides: php-console-getopt, php-structures-graph, php-xml-util
Homepage: https://pear.php.net/package/PEAR
Priority: optional
Section: php
Filename: pool/main/p/php-pear/php-pear_1.10.13+submodules+notgz+2022032202-2+0~20230612.39+debian12~1.gbpfd4c1d_all.deb
Size: 288712
SHA256: 33d3d9852e7a8ca6778518b4d3faa11ed137945eea17750f6d412133a084af85
SHA1: e0a8896e0f56aad88980b50b3e68ad3d00cfce9e
MD5sum: 950ffb895c88bf31c6244bd02e8fa2ab
Description: PEAR Base System
Description-md5: 04474ef785f71038c83c6c66703e837b

Package: php-pear
Version: 1:1.10.13+submodules+notgz+2022032202-2
Installed-Size: 2084
Maintainer: Debian PHP Maintainers
Architecture: all
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)
Description: PEAR Base System
Description-md5: 04474ef785f71038c83c6c66703e837b
Homepage: https://pear.php.net/package/PEAR
Tag: devel::lang:php, implemented-in::php, role::shared-lib
Section: php
Priority: optional
Filename: pool/main/p/php-pear/php-pear_1.10.13+submodules+notgz+2022032202-2_all.deb
Size: 289596
MD5sum: 6245b841a7eac6b913941c74b8e51db7
SHA256: b50f49a7bd8bfb469103f1943f3c062f27976871d1a38f5b2d6c413fba087eca