How to Install and Uninstall php-mysql Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: December 24,2024

1. Install "php-mysql" package

In this section, we are going to explain the necessary steps to install php-mysql on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install php-mysql

2. Uninstall "php-mysql" package

Please follow the steps below to uninstall php-mysql on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the php-mysql package on Ubuntu 22.10 (Kinetic Kudu)

Package: php-mysql
Architecture: all
Version: 2:8.1+92ubuntu1
Priority: optional
Section: php
Source: php-defaults (92ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: php-common, php8.1-mysql
Filename: pool/main/p/php-defaults/php-mysql_8.1+92ubuntu1_all.deb
Size: 1834
MD5sum: bdc6691af3c60a0c2c0f46b507512d25
SHA1: 995bcc26687b443511a8ee91b942526c77cd5070
SHA256: 8b966423a18222b343afae0a721fa66a94b47857addfd4ff48e99e7ea2edc976
SHA512: 082c6089eb0ec314d4503673bbafb1b71da1ba594d2761005ecbe2289595a64aef63a400acceba6f0b605280a93559451ff896b2656261384992a777116ee7c9
Description: MySQL module for PHP [default]
Description-md5: b06938348d6d72a1f125f8d3d536eddb
Task: lamp-server