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

Last updated: July 05,2024

1. Install "php8.1-mongodb" package

This guide let you learn how to install php8.1-mongodb on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php8.1-mongodb" package

Please follow the steps below to uninstall php8.1-mongodb on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php8.1-mongodb
Source: php-mongodb
Priority: optional
Section: php
Installed-Size: 2414
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, php8.1-common, phpapi-20210902, 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/php8.1-mongodb_1.17.0-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 703244
MD5sum: 3dc491b9befbce6ed52cfd232a4154bc
SHA1: 0893573af70893888729d7f4d29bf253e1690ca0
SHA256: fc60e97860a4f7fed0750704b6197f56dfffc859e5e925572b7238b147d2be29
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a