How to Install and Uninstall php7.1-mongodb Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: July 01,2024

1. Install "php7.1-mongodb" package

This guide let you learn how to install php7.1-mongodb on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.1-mongodb" package

Learn how to uninstall php7.1-mongodb on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php7.1-mongodb package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php7.1-mongodb
Source: php-mongodb
Priority: optional
Section: php
Installed-Size: 1433
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.14.0+1.11.1+1.9.2+1.7.5-1+ubuntu18.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1.14.0+1.11.1+1.9.2+1.7.5-1+ubuntu18.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php7.1-common, phpapi-20160303, libc6 (>= 2.14), libsasl2-2, libsnappy1v5, libssl1.1 (>= 1.1.1), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.2.0)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-mongodb (<< 1.14.0+1.11.1+1.9.2+1.7.5-1+ubuntu18.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb/php7.1-mongodb_1.14.0+1.11.1+1.9.2+1.7.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 463452
MD5sum: df38e87482e62f4c7bd1ae70cf78f508
SHA1: 0470c3bd117bad6c8891f121e142d001964c607c
SHA256: 8e8f8b574da8b08bd47370eb10b3ee7ffe103a240a2e08adf0f08d302bbe17b7
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a