How to Install and Uninstall php8.1-mongodb Package on Debian 11 (Bullseye)

Last updated: December 27,2024

1. Install "php8.1-mongodb" package

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

$ sudo apt update $ sudo apt install php8.1-mongodb

2. Uninstall "php8.1-mongodb" package

Please follow the instructions below to uninstall php8.1-mongodb on Debian 11 (Bullseye):

$ sudo apt remove php8.1-mongodb $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-mongodb package on Debian 11 (Bullseye)

Package: php8.1-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: 1736
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php8.1-common, phpapi-20210902, 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/php8.1-mongodb_1.14.0+1.11.1+1.9.2+1.7.5-1+0~20220825.36+debian11~1.gbp29b489_amd64.deb
Size: 545580
SHA256: 7a989048f471b99776a67c8aa09afa16d7b4eac8c8f24758c642c3d0e2b8053d
SHA1: 9bd5d0e0e9e47861822986b7639bea2d5ec3bd18
MD5sum: 8b48a341e871e1d6f0767127d5caefd0
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