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

Last updated: November 14,2024

1. Install "php7.4-mongodb" package

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

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

2. Uninstall "php7.4-mongodb" package

Please follow the instructions below to uninstall php7.4-mongodb on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.4-mongodb
Source: php-mongodb
Priority: optional
Section: php
Installed-Size: 2410
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.17.0-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1.17.0-1+ubuntu20.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php7.4-common, phpapi-20190902, 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.17.0-1+ubuntu20.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb/php7.4-mongodb_1.17.0-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 702784
MD5sum: ea4af3d0a16a006336b073826bfcfb34
SHA1: dcff39dd7f75a8dda5e604f44d66794671ebd81a
SHA256: cd25c3516c1d260533177178b4fb7c2b4252d960a9ebb19ed1d14789f0755c24
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a