How to Install and Uninstall php7.2-mysql Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: December 23,2024
Notice
You can also install and uninstall the php7.2-mysql 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.2-mysql" package
This guide covers the steps necessary to install php7.2-mysql on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php7.2-mysql
Copied
2. Uninstall "php7.2-mysql" package
This guide covers the steps necessary to uninstall php7.2-mysql on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php7.2-mysql
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.2-mysql package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php7.2-mysql
Source: php7.2
Priority: optional
Section: php
Installed-Size: 463
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.2-mysqli, php7.2-mysqlnd, php7.2-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu22.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php7.2/php7.2-mysql_7.2.34-43+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 134474
MD5sum: ea4e4666317e1f324922ecdcc4d53391
SHA1: 3dead3d98d9e2bb371e54d7f223c69750e57ccf6
SHA256: 0c203525bfd4711bbaedcf3cdeb5db11b8dc4efdd21cce03c70e26c58a30f36d
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Source: php7.2
Priority: optional
Section: php
Installed-Size: 463
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.2-mysqli, php7.2-mysqlnd, php7.2-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu22.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php7.2/php7.2-mysql_7.2.34-43+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 134474
MD5sum: ea4e4666317e1f324922ecdcc4d53391
SHA1: 3dead3d98d9e2bb371e54d7f223c69750e57ccf6
SHA256: 0c203525bfd4711bbaedcf3cdeb5db11b8dc4efdd21cce03c70e26c58a30f36d
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f