How to Install and Uninstall php-mysql Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 24,2024

1. Install "php-mysql" package

This guide let you learn how to install php-mysql on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install php-mysql

2. Uninstall "php-mysql" package

This guide let you learn how to uninstall php-mysql on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove php-mysql $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-mysql package on Ubuntu 24.04 LTS (Noble Numbat)

Package: php-mysql
Architecture: all
Version: 2:8.3+93ubuntu2
Priority: optional
Section: php
Source: php-defaults (93ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php-common, php8.3-mysql
Filename: pool/main/p/php-defaults/php-mysql_8.3+93ubuntu2_all.deb
Size: 1838
MD5sum: 0ea480898baa81afa59b2956f0c035d2
SHA1: c82a25b8a28a829a670ec025c477b14059231eed
SHA256: 784f8b66cff30e94e438cd7e9fa725cb225ec5cf700825ace10746c7bdde236d
SHA512: d965f21322b187fda1b705dc7312e8696b4c76c4d0be6bd29d925cac1cf18125086786a97f5fe8de657133e48417d23b30e5a392b1c1f3a740add597ee4554b6
Description: MySQL module for PHP [default]
Description-md5: 41fd5af30c00cd4b35e4a8a1125ac7c0
Task: lamp-server