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

Last updated: July 05,2024

1. Install "php5.6-mongodb" package

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

$ sudo apt update $ sudo apt install php5.6-mongodb

2. Uninstall "php5.6-mongodb" package

This guide let you learn how to uninstall php5.6-mongodb on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php5.6-mongodb $ sudo apt autoclean && sudo apt autoremove

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

Package: php5.6-mongodb
Source: php-mongodb-1-7
Priority: optional
Section: php
Installed-Size: 1303
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1:1.7.5-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1:1.7.5-1+ubuntu20.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php5.6-common, phpapi-20131226, libc6 (>= 2.17), libsasl2-2 (>= 2.1.27+dfsg), libsnappy1v5 (>= 1.1.8), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.0)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-mongodb (<< 1:1.7.5-1+ubuntu20.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb-1-7/php5.6-mongodb_1.7.5-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 415804
MD5sum: b9784d3901afa25e78d8993e684b8b10
SHA1: 68f0d4af7d12decd5642b03b3530f9fd7da41883
SHA256: 29066314cae8df2f385d2fce7256c2c362cbc4e1ec2c23449fa2de66b64e9952
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a