How to Install and Uninstall php-mongodb Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: September 20,2024

1. Install "php-mongodb" package

Please follow the guidance below to install php-mongodb on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install php-mongodb

2. Uninstall "php-mongodb" package

Learn how to uninstall php-mongodb on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove php-mongodb $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-mongodb package on Ubuntu 24.04 LTS (Noble Numbat)

Package: php-mongodb
Architecture: amd64
Version: 1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php8.3-mongodb
Filename: pool/universe/p/php-mongodb/php-mongodb_1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu1_amd64.deb
Size: 4820
MD5sum: 7e2e1446daf3ab49e8c28b794a670c83
SHA1: a0c4440449e82f4d48962e7da9ee178bdda46c07
SHA256: c71c2fa7847aacc7d8e2642a9eea0a7f1649148dc56ce21363a88bbc1a6f7c2c
SHA512: 61fb8cb87248ca47adbc561d74834f10bc934b9fc2d61f0e06895499216cf498b1743deddd87e750951873f854f949502d2a6f2a2623a65bfe50668943b80602
Homepage: https://pecl.php.net/package/mongodb
Description: MongoDB driver for PHP
Description-md5: bd5b9f31b10da2b91635b2cde67c2542