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

Last updated: December 26,2024

1. Install "php5.6-mongodb" package

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

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

2. Uninstall "php5.6-mongodb" package

Please follow the steps below to uninstall php5.6-mongodb on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php5.6-mongodb
Source: php-mongodb
Priority: optional
Section: php
Installed-Size: 1275
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, php5.6-common, phpapi-20131226, libc6 (>= 2.14), libsasl2-2, libsnappy1v5, libssl1.1 (>= 1.1.0), 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/php5.6-mongodb_1.14.0+1.11.1+1.9.2+1.7.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 411260
MD5sum: 74410ae141b75b881aabfae573e752b7
SHA1: 7b58a0cf5a93dd3a6ccaac617d17d36c0eae8a98
SHA256: 0295283d43de25b1866f25b89121d137cd8f11cd01864baa51a6b14f17cb7315
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a