How to Install and Uninstall php7.4-mongodb Package on Linux Mint 21.3 (Virginia)

Last updated: December 25,2024

1. Install "php7.4-mongodb" package

In this section, we are going to explain the necessary steps to install php7.4-mongodb on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install php7.4-mongodb

2. Uninstall "php7.4-mongodb" package

Please follow the guidance below to uninstall php7.4-mongodb on Linux Mint 21.3 (Virginia):

$ sudo apt remove php7.4-mongodb $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.4-mongodb package on Linux Mint 21.3 (Virginia)

Package: php7.4-mongodb
Source: php-mongodb
Priority: optional
Section: php
Installed-Size: 2414
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.17.2-1+ubuntu22.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1.17.2-1+ubuntu22.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php7.4-common, phpapi-20190902, libc6 (>= 2.34), libsasl2-2 (>= 2.1.27+dfsg2), libsnappy1v5 (>= 1.1.8), libssl3 (>= 3.0.0~~alpha1), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.2.0)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-mongodb (<< 1.17.2-1+ubuntu22.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb/php7.4-mongodb_1.17.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 790018
MD5sum: ae08cd6218b15fb5903e47935f037450
SHA1: 0bd805b8f7791f792a64d523c5205e4aae8ad241
SHA256: 26e9c80efceb6bac15e623be1ea820f272b4d4e872acb90cbd56d6007774c443
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a