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

Last updated: November 08,2024

1. Install "php7.1-mongodb" package

This tutorial shows how to install php7.1-mongodb on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.1-mongodb" package

Please follow the guidelines below to uninstall php7.1-mongodb on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: php7.1-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.1-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.1-mongodb_1.9.0+1.7.5-6+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 470600
MD5sum: 03e2a5fa8841e2b34ed511ed73015677
SHA1: 0dad8e8975ea4341acee25bc188a5633faac54d9
SHA256: e5d72bcedfe90a6b610253d4247352b21f0c0c6475c69d2c8c0dac9b52086175
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