How to Install and Uninstall php7.2-mongodb Package on Debian 11 (Bullseye)

Last updated: November 08,2024

1. Install "php7.2-mongodb" package

Please follow the guidance below to install php7.2-mongodb on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.2-mongodb

2. Uninstall "php7.2-mongodb" package

In this section, we are going to explain the necessary steps to uninstall php7.2-mongodb on Debian 11 (Bullseye):

$ sudo apt remove php7.2-mongodb $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-mongodb package on Debian 11 (Bullseye)

Package: php7.2-mongodb
Source: php-mongodb
Version: 1.14.0+1.11.1+1.9.2+1.7.5-1+0~20220825.36+debian11~1.gbp29b489
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 1764
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php7.2-common, phpapi-20170718, libc6 (>= 2.17), libsasl2-2 (>= 2.1.27+dfsg), libsnappy1v5 (>= 1.1.8), libssl1.1 (>= 1.1.1), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.2.0)
Breaks: php-mongodb (<< 1.14.0+1.11.1+1.9.2+1.7.5-1+0~20220825.36+debian11~1.gbp29b489~)
Replaces: php-mongodb (<< 1.14.0+1.11.1+1.9.2+1.7.5-1+0~20220825.36+debian11~1.gbp29b489~)
Provides: php-mongodb
Homepage: https://pecl.php.net/package/mongodb
Priority: optional
Section: php
Filename: pool/main/p/php-mongodb/php7.2-mongodb_1.14.0+1.11.1+1.9.2+1.7.5-1+0~20220825.36+debian11~1.gbp29b489_amd64.deb
Size: 546864
SHA256: 3d2235487b4b9f2d387ec5b4300ac02ac80ff9dc0c2c2f1da26d3013a5a23914
SHA1: 28705a9f223da9ce578769283ee3cae6f3b7fe14
MD5sum: d0956bc91a30053d63c0686d1052c630
Description: MongoDB driver for PHP
The purpose of this driver is to provide exceptionally thin glue
between MongoDB and PHP, implementing only fundemental and
performance-critical components necessary to build a fully-functional
MongoDB driver.
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a