How to Install and Uninstall php8.1-mysql Package on Debian 12 (Bookworm)

Last updated: November 07,2024

1. Install "php8.1-mysql" package

This guide covers the steps necessary to install php8.1-mysql on Debian 12 (Bookworm)

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

2. Uninstall "php8.1-mysql" package

Please follow the steps below to uninstall php8.1-mysql on Debian 12 (Bookworm):

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

3. Information about the php8.1-mysql package on Debian 12 (Bookworm)

Package: php8.1-mysql
Source: php8.1
Version: 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 443
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2), libc6 (>= 2.15)
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php8.1-mysqli, php8.1-mysqlnd, php8.1-pdo-mysql
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.1/php8.1-mysql_8.1.27-1+0~20231221.58+debian12~1.gbp3895b2_amd64.deb
Size: 116152
SHA256: 84119dda20a7f38c4755d920a62f44d9c05873c550394d15960f518158e1ce7a
SHA1: 33675bf73ce48396ac3b307e62dab95665e183c7
MD5sum: c2557f205cfcd56a53bd7c119c727ac4
Description: MySQL module for PHP
This package provides the MySQL module(s) for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: dba46097413040653c65df244b4f891f