How to Install and Uninstall php8.1-mysql Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 25,2024

1. Install "php8.1-mysql" package

This guide let you learn how to install php8.1-mysql on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php8.1-mysql

2. Uninstall "php8.1-mysql" package

This is a short guide on how to uninstall php8.1-mysql on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php8.1-mysql $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-mysql package on Ubuntu 20.04 LTS (Focal Fossa)

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+ubuntu20.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+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php8.1/php8.1-mysql_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 115840
MD5sum: b9cbd35f53ea545c46fe233c8b266d7e
SHA1: 5e0a739a4045da45671be425388876b43c692a30
SHA256: d36a7889fe9fb503d1ab0878c93740d87305aa053353dcc4a7a62182f371c8e6
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f