How to Install and Uninstall php-mongodb Package on Debian 10 (Buster)

Last updated: November 22,2024

1. Install "php-mongodb" package

This is a short guide on how to install php-mongodb on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php-mongodb

2. Uninstall "php-mongodb" package

This tutorial shows how to uninstall php-mongodb on Debian 10 (Buster):

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

3. Information about the php-mongodb package on Debian 10 (Buster)

Package: php-mongodb
Version: 1.14.0+1.11.1+1.9.2+1.7.5-1+0~20220825.36+debian10~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+debian10~1.gbp29b489_amd64.deb
Size: 7628
SHA256: 463e97969760fe534b0f7b13f499f7dcf90d5e7f20c2a793f627066379a2debf
SHA1: 837e378131972dfe66a620e58bd2e626f31e5859
MD5sum: 44fff93816568bb11c1a61c03f05a5f2
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a

Package: php-mongodb
Version: 1.5.3-2
Installed-Size: 1160
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Provides: php7.3-mongodb
Depends: ucf, php-common (>= 1:7.0+33~), phpapi-20180731, libc6 (>= 2.14), libsasl2-2, libssl1.1 (>= 1.1.0)
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.5.3-2_amd64.deb
Size: 376636
MD5sum: e7a523ff3c2290e7023d10034ad274a0
SHA256: 4611573458c9f6d2ec89b67750823aadcce6c56acd299923a9c03a7df6b3e714