How to Install and Uninstall php7.2-mongodb Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 23,2024

1. Install "php7.2-mongodb" package

This is a short guide on how to install php7.2-mongodb on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.2-mongodb" package

Please follow the step by step instructions below to uninstall php7.2-mongodb on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.2-mongodb package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.2-mongodb
Source: php-mongodb
Priority: optional
Section: php
Installed-Size: 1415
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.9.0+1.7.5-6+ubuntu16.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1.9.0+1.7.5-6+ubuntu16.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php7.2-common, libc6 (>= 2.14), libsasl2-2, libssl1.1 (>= 1.1.1)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-mongodb (<< 1.9.0+1.7.5-6+ubuntu16.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb/php7.2-mongodb_1.9.0+1.7.5-6+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 469980
MD5sum: e24c97a093eafa786549526488f4f1f9
SHA1: 8622367d4544466e7cb9517dfdae8b5065880cbe
SHA256: 380f44c1efe7514e6df57173c882a434251960437a817b589ea1ec16b3d6dae9
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