How to Install and Uninstall php-mongodb Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: November 07,2024

1. Install "php-mongodb" package

This guide let you learn how to install php-mongodb on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install php-mongodb

2. Uninstall "php-mongodb" package

Please follow the step by step instructions below to uninstall php-mongodb on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the php-mongodb package on Ubuntu 22.10 (Kinetic Kudu)

Package: php-mongodb
Architecture: amd64
Version: 1.12.0+1.9.2+1.7.5-4
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: 21
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php8.1-mongodb
Filename: pool/universe/p/php-mongodb/php-mongodb_1.12.0+1.9.2+1.7.5-4_amd64.deb
Size: 4764
MD5sum: 2e7c44d728165ed423ba530c839b74e8
SHA1: 0bddd8cdd03ed8fcfe7854b9b3ace358463ebf3c
SHA256: a9403da47182478aed5152f91af4340dd7f21cb3fcbb2127f03067e3bc1babdc
SHA512: 1585b9a15588b51f162a3f409037776e984ca535f8600761ca36440a9ef66e8267fa1871d5fff551986b2992d86206318e7aa30413f73f87764500dffc310043
Homepage: https://pecl.php.net/package/mongodb
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a