How to Install and Uninstall php-mongo Package on Linux Mint 21.3 (Virginia)

Last updated: November 22,2024

1. Install "php-mongo" package

Please follow the steps below to install php-mongo on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install php-mongo

2. Uninstall "php-mongo" package

Please follow the instructions below to uninstall php-mongo on Linux Mint 21.3 (Virginia):

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

3. Information about the php-mongo package on Linux Mint 21.3 (Virginia)

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