How to Install and Uninstall php-mongodb Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: November 22,2024

1. Install "php-mongodb" package

This guide covers the steps necessary to install php-mongodb on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install php-mongodb

2. Uninstall "php-mongodb" package

This is a short guide on how to uninstall php-mongodb on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the php-mongodb package on Ubuntu 23.10 (Mantic Minotaur)

Package: php-mongodb
Architecture: amd64
Version: 1.15.0+1.11.1+1.9.2+1.7.5-1build1
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.2-mongodb
Filename: pool/universe/p/php-mongodb/php-mongodb_1.15.0+1.11.1+1.9.2+1.7.5-1build1_amd64.deb
Size: 4818
MD5sum: c302465874b240bd70c3d22e9a518db9
SHA1: 84a3e7fea51766a2400e8a1b95258623853606ed
SHA256: bc6eeb071843f6653ad86f080524a83a04473524651ac4891d8292e588f49f2d
SHA512: 9156a5e7f673ed7f1883c3415114ea8dfc503c06d425188671705dc47782273494604427eedfdae79b41f14817ff4c5c5965a9dec419ce240d4a71694a15ec5a
Homepage: https://pecl.php.net/package/mongodb
Description: MongoDB driver for PHP
Description-md5: bd5b9f31b10da2b91635b2cde67c2542