How to Install and Uninstall php-mongodb Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: December 23,2024
Notice
You can also install and uninstall the php-mongodb on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "php-mongodb" package
Please follow the guidance below to install php-mongodb on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php-mongodb
Copied
2. Uninstall "php-mongodb" package
This tutorial shows how to uninstall php-mongodb on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php-mongodb
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-mongodb package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php-mongodb
Priority: optional
Section: php
Installed-Size: 21
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.17.2-1+ubuntu22.04.1+deb.sury.org+1
Depends: ucf, php8.3-mongodb
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-mongodb/php-mongodb_1.17.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 7920
MD5sum: 5fe811db1260bc363671e1eb92a0d5d8
SHA1: c6f8113f089c49fb84ca6c3aaacf4d3ba7a5a51b
SHA256: 08ce9b2110d45a1f3524f3c7862bff23934a3a1c08fe5d1e547c89e20a61214c
Description: MongoDB driver for PHP
Description-md5: bd5b9f31b10da2b91635b2cde67c2542
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
Priority: optional
Section: php
Installed-Size: 21
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.17.2-1+ubuntu22.04.1+deb.sury.org+1
Depends: ucf, php8.3-mongodb
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-mongodb/php-mongodb_1.17.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 7920
MD5sum: 5fe811db1260bc363671e1eb92a0d5d8
SHA1: c6f8113f089c49fb84ca6c3aaacf4d3ba7a5a51b
SHA256: 08ce9b2110d45a1f3524f3c7862bff23934a3a1c08fe5d1e547c89e20a61214c
Description: MongoDB driver for PHP
Description-md5: bd5b9f31b10da2b91635b2cde67c2542
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