How to Install and Uninstall php8.1-mongodb Package on Debian 12 (Bookworm)

Last updated: May 18,2024

1. Install "php8.1-mongodb" package

Please follow the guidance below to install php8.1-mongodb on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php8.1-mongodb

2. Uninstall "php8.1-mongodb" package

Please follow the instructions below to uninstall php8.1-mongodb on Debian 12 (Bookworm):

$ sudo apt remove php8.1-mongodb $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-mongodb package on Debian 12 (Bookworm)

Package: php8.1-mongodb
Source: php-mongodb
Version: 1.17.2-1+0~20240213.44+debian12~1.gbpf972a0
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 2493
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php8.1-common, phpapi-20210902, libc6 (>= 2.34), libsasl2-2 (>= 2.1.28+dfsg), libsnappy1v5 (>= 1.1.9), libssl3 (>= 3.0.0), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.2.0)
Breaks: php-mongodb (<< 1.17.2-1+0~20240213.44+debian12~1.gbpf972a0~)
Replaces: php-mongodb (<< 1.17.2-1+0~20240213.44+debian12~1.gbpf972a0~)
Provides: php-mongodb
Homepage: https://pecl.php.net/package/mongodb
Priority: optional
Section: php
Filename: pool/main/p/php-mongodb/php8.1-mongodb_1.17.2-1+0~20240213.44+debian12~1.gbpf972a0_amd64.deb
Size: 710156
SHA256: a201738f74299cd3bae11b8d72dade111e4d7a8ba1b9c44487e788cfdba8e021
SHA1: 877d34bcc2634b8415df662b3077a1fca9374cb7
MD5sum: 8c587bd8cfcaa918df1fec47a0290162
Description: MongoDB driver for PHP
The purpose of this driver is to provide exceptionally thin glue
between MongoDB and PHP, implementing only fundemental and
performance-critical components necessary to build a fully-functional
MongoDB driver.
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a