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

Last updated: December 25,2024

1. Install "php7.1-mongodb" package

This is a short guide on how to install php7.1-mongodb on Debian 11 (Bullseye)

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

2. Uninstall "php7.1-mongodb" package

Learn how to uninstall php7.1-mongodb on Debian 11 (Bullseye):

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

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

Package: php7.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: 1533
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php7.1-common, phpapi-20160303, 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.1-mongodb_1.14.0+1.11.1+1.9.2+1.7.5-1+0~20220825.36+debian11~1.gbp29b489_amd64.deb
Size: 479176
SHA256: 7d971f8519d8ff9931ee9362c47cef6b2083f0c434b2b0e149599ccb97fdb12f
SHA1: 0a40246d24e172210f6116bf0494dc4f6a79564f
MD5sum: 54a8c594465288a46892f8a91bab3bc3
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