How to Install and Uninstall php-mongo Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: June 02,2024

1. Install "php-mongo" package

Please follow the step by step instructions below to install php-mongo on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php-mongo

2. Uninstall "php-mongo" package

Here is a brief guide to show you how to uninstall php-mongo on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php-mongo package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php-mongo
Priority: optional
Section: php
Installed-Size: 10
Maintainer: Laszlo Boszormenyi (GCS)
Architecture: amd64
Version: 1.6.16-8+ubuntu16.04.1+deb.sury.org+1
Depends: php5.6-mongo
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-mongo/php-mongo_1.6.16-8+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 3406
MD5sum: 29d8cb469d7e2c29929351f9e8efbbb3
SHA1: e0b556e8340a93cec38cfbe5aaafb068aeceb029
SHA256: 54189d85ff3e698884f8ffaee9bf6354348014c5d4699458d45f6aec241ce318
Description-en: MongoDB database driver
This package provides an interface for communicating with the MongoDB database
in PHP.
Description-md5: be87f918dafb9ec5ce97b48bac388952