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

Last updated: November 23,2024

1. Install "php7.0-mongodb" package

This tutorial shows how to install php7.0-mongodb on Debian 11 (Bullseye)

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

2. Uninstall "php7.0-mongodb" package

Please follow the guidance below to uninstall php7.0-mongodb on Debian 11 (Bullseye):

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

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

Package: php7.0-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: 1443
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php7.0-common, phpapi-20151012, 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.0-mongodb_1.14.0+1.11.1+1.9.2+1.7.5-1+0~20220825.36+debian11~1.gbp29b489_amd64.deb
Size: 452980
SHA256: 0af0466c662420fe1df85cd5d8803ec0128f8f9f360073b02359766d96b2db88
SHA1: f889b7f4c2fffefaace94bf9a48564cb68279ff3
MD5sum: 7b8c6e7168616292c376c882a76c2d55
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