How to Install and Uninstall php-mysql Package on Ubuntu 23.10 (Mantic Minotaur)
Last updated: December 25,2024
1. Install "php-mysql" package
This is a short guide on how to install php-mysql on Ubuntu 23.10 (Mantic Minotaur)
$
sudo apt update
Copied
$
sudo apt install
php-mysql
Copied
2. Uninstall "php-mysql" package
Please follow the guidance below to uninstall php-mysql on Ubuntu 23.10 (Mantic Minotaur):
$
sudo apt remove
php-mysql
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-mysql package on Ubuntu 23.10 (Mantic Minotaur)
Package: php-mysql
Architecture: all
Version: 2:8.2+93ubuntu1
Priority: optional
Section: php
Source: php-defaults (93ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php-common, php8.2-mysql
Filename: pool/main/p/php-defaults/php-mysql_8.2+93ubuntu1_all.deb
Size: 1838
MD5sum: 21da4df888689a3a36901af3d8155fb6
SHA1: 5fdf5921309c3d569438b1be01b54387f3b1413d
SHA256: 683aed6384d8794347360b8af43dc29436e7c129398424169d154247931757d4
SHA512: 7505cafc50f5da44bbdaa6c1f600e4e791a3195a88820a96310f3280dfa195bdafe18161930590f97b7d2d70566b1755f6ce08724694d16cdf1eb2b2c9f23949
Description: MySQL module for PHP [default]
Description-md5: c9e2a5c98850b34bad5bc9cf5966af33
Task: lamp-server
Architecture: all
Version: 2:8.2+93ubuntu1
Priority: optional
Section: php
Source: php-defaults (93ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php-common, php8.2-mysql
Filename: pool/main/p/php-defaults/php-mysql_8.2+93ubuntu1_all.deb
Size: 1838
MD5sum: 21da4df888689a3a36901af3d8155fb6
SHA1: 5fdf5921309c3d569438b1be01b54387f3b1413d
SHA256: 683aed6384d8794347360b8af43dc29436e7c129398424169d154247931757d4
SHA512: 7505cafc50f5da44bbdaa6c1f600e4e791a3195a88820a96310f3280dfa195bdafe18161930590f97b7d2d70566b1755f6ce08724694d16cdf1eb2b2c9f23949
Description: MySQL module for PHP [default]
Description-md5: c9e2a5c98850b34bad5bc9cf5966af33
Task: lamp-server