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

Last updated: November 24,2024

1. Install "php8.2-mongodb" package

Please follow the guidance below to install php8.2-mongodb on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php8.2-mongodb" package

Learn how to uninstall php8.2-mongodb on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php8.2-mongodb
Source: php-mongodb
Priority: optional
Section: php
Installed-Size: 2418
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.2-common, phpapi-20220829, 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.2-mongodb_1.17.0-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 702788
MD5sum: 54932477982cd90b268080077ba8c2f2
SHA1: 50392e28fff05a749c0284ab9f3238cf4a354c8d
SHA256: 43b377cb934aa6eef584d5ec4e895d74acc5ceb1da777546f824ea1bba4ae0d3
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a