How to Install and Uninstall php-mongo Package on Debian 12 (Bookworm)

Last updated: December 23,2024

1. Install "php-mongo" package

This guide covers the steps necessary to install php-mongo on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-mongo

2. Uninstall "php-mongo" package

Please follow the guidelines below to uninstall php-mongo on Debian 12 (Bookworm):

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

3. Information about the php-mongo package on Debian 12 (Bookworm)

Package: php-mongo
Version: 1.6.16+reimport-1+0~20231125.30+debian12~1.gbp97306c
Architecture: amd64
Maintainer: Laszlo Boszormenyi (GCS)
Installed-Size: 9
Pre-Depends: php-common (>= 2:69~)
Depends: php5.6-mongo
Homepage: http://www.mongodb.org/display/DOCS/PHP+Language+Center
Priority: optional
Section: php
Filename: pool/main/p/php-mongo/php-mongo_1.6.16+reimport-1+0~20231125.30+debian12~1.gbp97306c_amd64.deb
Size: 2972
SHA256: 7b2c6f35d74cdc8004db82aebd4996515bfd192a7ddc0da2d260c0582197698d
SHA1: 13a21778b8a7fe9ae6471c89d0a8e50e12e798ee
MD5sum: 5d25bd3b79e15eea6aab760125b970ba
Description: MongoDB database driver
This package provides an interface for communicating with the MongoDB database
in PHP.
.
This is empty package that depends on default PHP version.
Description-md5: ea0739bc2fe1e0fb38cff2e5f3cfde4b