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

Last updated: December 26,2024

1. Install "php7.3-mongodb" package

Please follow the steps below to install php7.3-mongodb on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.3-mongodb" package

This tutorial shows how to uninstall php7.3-mongodb on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.3-mongodb
Source: php-mongodb
Priority: optional
Section: php
Installed-Size: 2034
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.16.2-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1.16.2-1+ubuntu20.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php7.3-common, phpapi-20180731, 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.16.2-1+ubuntu20.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb/php7.3-mongodb_1.16.2-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 643180
MD5sum: 03bb39902061babacbf11749040e52e2
SHA1: e68a4edc5fa9a2d4a168082faa873ef6be1d332f
SHA256: 9ebc2a162b3a62f338feefc9609a7839f9c52f9680c6f183d0da2bc1ef7fd87b
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a