How to Install and Uninstall php8.2-mongodb Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 23,2024

1. Install "php8.2-mongodb" package

This is a short guide on how to install php8.2-mongodb on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php8.2-mongodb" package

This guide covers the steps necessary to uninstall php8.2-mongodb on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php8.2-mongodb package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php8.2-mongodb
Source: php-mongodb
Priority: optional
Section: php
Installed-Size: 2418
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.17.2-1+ubuntu22.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1.17.2-1+ubuntu22.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php8.2-common, phpapi-20220829, libc6 (>= 2.34), libsasl2-2 (>= 2.1.27+dfsg2), libsnappy1v5 (>= 1.1.8), libssl3 (>= 3.0.0~~alpha1), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.2.0)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-mongodb (<< 1.17.2-1+ubuntu22.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb/php8.2-mongodb_1.17.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 792630
MD5sum: 9487c8bf4860c48393ce3fe98f623c0d
SHA1: 7ae15359e507763d94861b7bf1b86ba9555b37a0
SHA256: 90aad599ff9bdc08a732ec56cb69ad69339a3f04e71c184f358f9d01b89fdc50
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a