How to Install and Uninstall php8.1-mysql Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 23,2024

1. Install "php8.1-mysql" package

This tutorial shows how to install php8.1-mysql on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php8.1-mysql" package

Please follow the guidance below to uninstall php8.1-mysql on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php8.1-mysql package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php8.1-mysql
Source: php8.1
Priority: optional
Section: php
Installed-Size: 431
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.9-1+ubuntu18.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.9-1+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php8.1/php8.1-mysql_8.1.9-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 113944
MD5sum: 8bab14043f493db3301f4eccb7883c64
SHA1: 08c0d87748899131b9d44a09fcfd1ebe7ee7ca01
SHA256: 6567d8fa788ecfb1705557a26fb3a5f7cd34f4d6615b838cfb37d88911815a83
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f