How to Install and Uninstall php7.0-mongodb Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 23,2024
Notice
You can also install and uninstall the php7.0-mongodb on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "php7.0-mongodb" package
This tutorial shows how to install php7.0-mongodb on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php7.0-mongodb
Copied
2. Uninstall "php7.0-mongodb" package
This guide covers the steps necessary to uninstall php7.0-mongodb on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php7.0-mongodb
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.0-mongodb package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php7.0-mongodb
Source: php-mongodb-1-9
Priority: optional
Section: php
Installed-Size: 1388
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1:1.9.2-1+ubuntu22.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1:1.9.2-1+ubuntu22.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php7.0-common, phpapi-20151012, 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.9.2-1+ubuntu22.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb-1-9/php7.0-mongodb_1.9.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 489980
MD5sum: 0333238ec430c0b402af05b0bc544146
SHA1: 0b78cd82e85fafb901107a50ff98582c89ff5ea2
SHA256: 7eb32e1cf08e91f10871da1dc02d6f38786408e005fc41414f58e753b04f9229
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a
Source: php-mongodb-1-9
Priority: optional
Section: php
Installed-Size: 1388
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1:1.9.2-1+ubuntu22.04.1+deb.sury.org+1
Replaces: php-mongodb (<< 1:1.9.2-1+ubuntu22.04.1+deb.sury.org+1~)
Provides: php-mongodb
Depends: ucf, php7.0-common, phpapi-20151012, 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.9.2-1+ubuntu22.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mongodb-1-9/php7.0-mongodb_1.9.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 489980
MD5sum: 0333238ec430c0b402af05b0bc544146
SHA1: 0b78cd82e85fafb901107a50ff98582c89ff5ea2
SHA256: 7eb32e1cf08e91f10871da1dc02d6f38786408e005fc41414f58e753b04f9229
Description: MongoDB driver for PHP
Description-md5: 019af190a34e0d969ac1807b7a0e3f5a