How to Install and Uninstall php-mongo Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 20,2024

1. Install "php-mongo" package

In this section, we are going to explain the necessary steps to install php-mongo on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-mongo

2. Uninstall "php-mongo" package

This is a short guide on how to uninstall php-mongo on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-mongo package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-mongo
Priority: optional
Section: php
Installed-Size: 10
Maintainer: Laszlo Boszormenyi (GCS)
Architecture: amd64
Version: 1.6.16-8+ubuntu18.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+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 3496
MD5sum: 723a42f9a88507d7d8759e2ca5d55c8d
SHA1: 1e11ec4c8caa658eb77ca7f57307dfe6642079aa
SHA256: 802cfd036bc6c0d0cd876e7fc9273cf3b6f3c25ba51336d0dc44b62312e77345
Description: MongoDB database driver
Description-md5: be87f918dafb9ec5ce97b48bac388952