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

Last updated: September 22,2024

1. Install "php8.1-mongodb" package

Here is a brief guide to show you how to install php8.1-mongodb on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php8.1-mongodb

2. Uninstall "php8.1-mongodb" package

Learn how to uninstall php8.1-mongodb on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove php8.1-mongodb $ sudo apt autoclean && sudo apt autoremove

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

Package: php8.1-mongodb
Source: php-mongodb
Priority: optional
Section: php
Installed-Size: 1616
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, php8.1-common, phpapi-20210902, libc6 (>= 2.14), libsasl2-2, libsnappy1v5, libssl1.1 (>= 1.1.1), libzstd1 (>= 1.3.2), 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/php8.1-mongodb_1.14.0+1.11.1+1.9.2+1.7.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 525540
MD5sum: 724893d69cd3985ea5ce7895564902b4
SHA1: 67b3b674743fc406cbb996084add70dae9da3d28
SHA256: e7ad3a4a7a77a26ad6fe5262ebcbdc105a0caab541dc05d025c29d4b247283e5
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a