How to Install and Uninstall php8.1-mysql Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 07,2024
Notice
You can also install and uninstall the php8.1-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.1-mysql" package
Please follow the instructions below to install php8.1-mysql on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php8.1-mysql
Copied
2. Uninstall "php8.1-mysql" package
Learn how to uninstall php8.1-mysql on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php8.1-mysql
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php8.1-mysql package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php8.1-mysql
Source: php8.1
Priority: optional
Section: php
Installed-Size: 451
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.27-1+ubuntu22.04.1+deb.sury.org+1
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php8.1-mysqli, php8.1-mysqlnd, php8.1-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.27-1+ubuntu22.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php8.1/php8.1-mysql_8.1.27-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 130508
MD5sum: 5f305a79e74dc692ecd0a18e39e89f74
SHA1: 3f7cd79caf3f012120ac5d0e5704379d2cd4ca25
SHA256: 76ae56e883aa5e7d26653a708efb5340603c97dce9861786e3865affc3c7062f
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Package: php8.1-mysql
Architecture: amd64
Version: 8.1.2-1ubuntu2.14
Priority: optional
Section: php
Source: php8.1
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 451
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php8.1-mysqli, php8.1-mysqlnd, php8.1-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.2-1ubuntu2.14), libc6 (>= 2.15)
Filename: pool/main/p/php8.1/php8.1-mysql_8.1.2-1ubuntu2.14_amd64.deb
Size: 130238
MD5sum: ab145d533255372bc16a2d7eb19ef338
SHA1: a181e5016a82af6b3a8c594f880180163b753915
SHA256: 9168aaf56b4bbee8139995b44fadd69a9da39cc8ed141df8734967768d6f2877
SHA512: 2660cbd3dcb91a9a05084ea2383f580116e1274ffe8cf06677f48d70734ca9b2701e8a8278aa9daad15de4bf7a9f5504a7b405fce917dbe752408ed2461f5775
Homepage: http://www.php.net/
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Task: lamp-server
Package: php8.1-mysql
Architecture: amd64
Version: 8.1.2-1ubuntu2
Priority: optional
Section: php
Source: php8.1
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 451
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php8.1-mysqli, php8.1-mysqlnd, php8.1-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.2-1ubuntu2), libc6 (>= 2.15)
Filename: pool/main/p/php8.1/php8.1-mysql_8.1.2-1ubuntu2_amd64.deb
Size: 130248
MD5sum: dc6e89fcf7cdaa79dc74babfd927916e
SHA1: 19712f5ab643e1e26c173e1a74741c47b4eb0dc0
SHA256: f7967da688237ff8b785bce52784b14a4a99b5a56ab63de51c8774f2bc9cf9be
SHA512: d04c6e74c79ae273532507e3baeb6a7a85a197ee5660b4e6793b83817ac80e3387590ffd9ca525e9e0fd9ebac22b40dce8b29c3f501747294d5958a2b6dd73b1
Homepage: http://www.php.net/
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Task: lamp-server
Source: php8.1
Priority: optional
Section: php
Installed-Size: 451
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.27-1+ubuntu22.04.1+deb.sury.org+1
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php8.1-mysqli, php8.1-mysqlnd, php8.1-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.27-1+ubuntu22.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php8.1/php8.1-mysql_8.1.27-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 130508
MD5sum: 5f305a79e74dc692ecd0a18e39e89f74
SHA1: 3f7cd79caf3f012120ac5d0e5704379d2cd4ca25
SHA256: 76ae56e883aa5e7d26653a708efb5340603c97dce9861786e3865affc3c7062f
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Package: php8.1-mysql
Architecture: amd64
Version: 8.1.2-1ubuntu2.14
Priority: optional
Section: php
Source: php8.1
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 451
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php8.1-mysqli, php8.1-mysqlnd, php8.1-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.2-1ubuntu2.14), libc6 (>= 2.15)
Filename: pool/main/p/php8.1/php8.1-mysql_8.1.2-1ubuntu2.14_amd64.deb
Size: 130238
MD5sum: ab145d533255372bc16a2d7eb19ef338
SHA1: a181e5016a82af6b3a8c594f880180163b753915
SHA256: 9168aaf56b4bbee8139995b44fadd69a9da39cc8ed141df8734967768d6f2877
SHA512: 2660cbd3dcb91a9a05084ea2383f580116e1274ffe8cf06677f48d70734ca9b2701e8a8278aa9daad15de4bf7a9f5504a7b405fce917dbe752408ed2461f5775
Homepage: http://www.php.net/
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Task: lamp-server
Package: php8.1-mysql
Architecture: amd64
Version: 8.1.2-1ubuntu2
Priority: optional
Section: php
Source: php8.1
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 451
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php8.1-mysqli, php8.1-mysqlnd, php8.1-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.2-1ubuntu2), libc6 (>= 2.15)
Filename: pool/main/p/php8.1/php8.1-mysql_8.1.2-1ubuntu2_amd64.deb
Size: 130248
MD5sum: dc6e89fcf7cdaa79dc74babfd927916e
SHA1: 19712f5ab643e1e26c173e1a74741c47b4eb0dc0
SHA256: f7967da688237ff8b785bce52784b14a4a99b5a56ab63de51c8774f2bc9cf9be
SHA512: d04c6e74c79ae273532507e3baeb6a7a85a197ee5660b4e6793b83817ac80e3387590ffd9ca525e9e0fd9ebac22b40dce8b29c3f501747294d5958a2b6dd73b1
Homepage: http://www.php.net/
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Task: lamp-server