How to Install and Uninstall php-mongodb Package on Debian 11 (Bullseye)

Last updated: November 22,2024

1. Install "php-mongodb" package

Please follow the steps below to install php-mongodb on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-mongodb

2. Uninstall "php-mongodb" package

Please follow the steps below to uninstall php-mongodb on Debian 11 (Bullseye):

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

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

Package: 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: 21
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php8.1-mongodb
Homepage: https://pecl.php.net/package/mongodb
Priority: optional
Section: php
Filename: pool/main/p/php-mongodb/php-mongodb_1.14.0+1.11.1+1.9.2+1.7.5-1+0~20220825.36+debian11~1.gbp29b489_amd64.deb
Size: 7628
SHA256: fce60b2b3a7fa6e73ddc3fddbdb06ca823f7c9a71b5ddfa49eb67b3436a043e5
SHA1: 3435942ec5f4e6159ac3023ee749b50a4f87ee5c
MD5sum: f53eed55a3e5e27ca3e86b3e22b1ce5b
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a

Package: php-mongodb
Version: 1.9.0+1.7.5-2
Installed-Size: 1494
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Provides: php7.4-mongodb
Depends: ucf, phpapi-20190902, libc6 (>= 2.17), libsasl2-2 (>= 2.1.27+dfsg), libssl1.1 (>= 1.1.1)
Pre-Depends: php-common (>= 2:69~)
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a
Homepage: https://pecl.php.net/package/mongodb
Section: php
Priority: optional
Filename: pool/main/p/php-mongodb/php-mongodb_1.9.0+1.7.5-2_amd64.deb
Size: 487908
MD5sum: d2e210f79c496e653ab31a78f47864c6
SHA256: 30757069967f99c6b4d7e7f99f7d729170af832fc0e6bff9fe4cee8444e1e9be