How to Install and Uninstall php7.0-mongodb Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 23,2024

1. Install "php7.0-mongodb" package

Learn how to install php7.0-mongodb on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.0-mongodb" package

In this section, we are going to explain the necessary steps to uninstall php7.0-mongodb on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.0-mongodb package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.0-mongodb
Source: php-mongodb-1-9
Priority: optional
Section: php
Installed-Size: 1388
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1:1.9.2-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1:1.9.2-1+ubuntu20.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php7.0-common, phpapi-20151012, libc6 (>= 2.17), libsasl2-2 (>= 2.1.27+dfsg), libsnappy1v5 (>= 1.1.8), libssl1.1 (>= 1.1.1), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.2.0)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-mongodb (<< 1:1.9.2-1+ubuntu20.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb-1-9/php7.0-mongodb_1.9.2-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 444924
MD5sum: bf28b9d406b7b12f7f2edcc9b0ee31ac
SHA1: df5dccd4264f06ff3ba882c2625c4ac82551f39a
SHA256: 89ec97a737d37437036ac8272a546a642105547da6a8fbf57de59cd2a9f2fcaa
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a