How to Install and Uninstall php7.1-mongodb Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 27,2024

1. Install "php7.1-mongodb" package

Please follow the steps below to install php7.1-mongodb on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php7.1-mongodb" package

Learn how to uninstall php7.1-mongodb on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php7.1-mongodb package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php7.1-mongodb
Source: php-mongodb-1-11
Priority: optional
Section: php
Installed-Size: 1469
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1:1.11.1-1+ubuntu22.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1:1.11.1-1+ubuntu22.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php7.1-common, phpapi-20160303, 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:1.11.1-1+ubuntu22.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb-1-11/php7.1-mongodb_1.11.1-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 519682
MD5sum: 43df6a9b0f24fa16ac172386f3249905
SHA1: d4145c057d627aa1a8b3191635232ee1205019d8
SHA256: 396db49948a59ed24295334712e07cce1eb9d73dbf360ae07e96536c2bcf5cb7
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a