How to Install and Uninstall php8.2-mysql Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 23,2024
Notice
You can also install and uninstall the php8.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 "php8.2-mysql" package
This is a short guide on how to install php8.2-mysql on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php8.2-mysql
Copied
2. Uninstall "php8.2-mysql" package
Please follow the instructions below to uninstall php8.2-mysql on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php8.2-mysql
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php8.2-mysql package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php8.2-mysql
Source: php8.2
Priority: optional
Section: php
Installed-Size: 455
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.2.16-3+ubuntu22.04.1+deb.sury.org+1
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php8.2-mysqli, php8.2-mysqlnd, php8.2-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php8.2-common (= 8.2.16-3+ubuntu22.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php8.2/php8.2-mysql_8.2.16-3+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 131386
MD5sum: 1adfe8b679b60de63030a4c972da534d
SHA1: e12407c43dc905733a675afea3121e4848c8b979
SHA256: 42fa8caccf915f7213da4de0867ab2f2d30515e0d785879c133a47e81fd5347d
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Source: php8.2
Priority: optional
Section: php
Installed-Size: 455
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.2.16-3+ubuntu22.04.1+deb.sury.org+1
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php8.2-mysqli, php8.2-mysqlnd, php8.2-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php8.2-common (= 8.2.16-3+ubuntu22.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php8.2/php8.2-mysql_8.2.16-3+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 131386
MD5sum: 1adfe8b679b60de63030a4c972da534d
SHA1: e12407c43dc905733a675afea3121e4848c8b979
SHA256: 42fa8caccf915f7213da4de0867ab2f2d30515e0d785879c133a47e81fd5347d
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f