How to Install and Uninstall php-mongo Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 23,2024

1. Install "php-mongo" package

Please follow the steps below to install php-mongo on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install php-mongo

2. Uninstall "php-mongo" package

Please follow the step by step instructions below to uninstall php-mongo on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php-mongo package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php-mongo
Priority: optional
Section: php
Installed-Size: 10
Maintainer: Laszlo Boszormenyi (GCS)
Architecture: amd64
Version: 1.6.16+reimport-1+ubuntu22.04.1+deb.sury.org+2
Depends: php5.6-mongo
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-mongo/php-mongo_1.6.16+reimport-1+ubuntu22.04.1+deb.sury.org+2_amd64.deb
Size: 3584
MD5sum: 04acfb3790986bc971199a82280d03ef
SHA1: bd5bcc9cd0c556b209525d5dbecd8ddfe18f06c3
SHA256: f6b2286a45ee2be5944901ebe9e32ceb80266c1f3eb9386da6aaa8349a6b1258
Description: MongoDB database driver
Description-md5: be87f918dafb9ec5ce97b48bac388952