How to Install and Uninstall php-mongodb Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 16,2024

1. Install "php-mongodb" package

This guide let you learn how to install php-mongodb on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-mongodb

2. Uninstall "php-mongodb" package

Please follow the instructions below to uninstall php-mongodb on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php-mongodb package on Ubuntu 21.10 (Impish Indri)

Package: php-mongodb
Priority: optional
Section: php
Installed-Size: 21
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.11.1+1.9.2+1.7.5-2+ubuntu21.10.1+deb.sury.org+3
Depends: ucf, php8.1-mongodb
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-mongodb/php-mongodb_1.11.1+1.9.2+1.7.5-2+ubuntu21.10.1+deb.sury.org+3_amd64.deb
Size: 7506
MD5sum: ac4dc27b021cfe7bf6c293b502bb33ac
SHA1: d6cd58b4aab1dc837aa8f023a1a775f12356e889
SHA256: 45a0a85ab05b85d51f36eb93f643e3e4de809e34145cb2c7c464129b99ab8d3b
Description-en: 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

Package: php-mongodb
Architecture: amd64
Version: 1.9.0+1.7.5-2build2
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1440
Provides: php8.0-mongodb
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, phpapi-20200930, libc6 (>= 2.17), libsasl2-2 (>= 2.1.27+dfsg), libssl1.1 (>= 1.1.1)
Filename: pool/universe/p/php-mongodb/php-mongodb_1.9.0+1.7.5-2build2_amd64.deb
Size: 480384
MD5sum: 0510cdf6bd2c9611f4729ed2160dce83
SHA1: 0dbaf03df6acb6d779201d8a05ff483afa80e579
SHA256: fcdef82f9c32e8a9f689e5e7197b69c88f16e39629c73e6bff8af08e07b0e43a
SHA512: 3d0de118f69c52782dfc626de7ce137b4621ee794f1c361be20955065128d4b9118ac9b0eecb5ba6e264cfe8bdea5b4e7fa78fd8c4fee61a54e763c0cdf39eb2
Homepage: https://pecl.php.net/package/mongodb
Description-en: 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