How to Install and Uninstall php-mysql Package on Linux Mint 20.3 (Una)

Last updated: November 07,2024

1. Install "php-mysql" package

Please follow the guidelines below to install php-mysql on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install php-mysql

2. Uninstall "php-mysql" package

Learn how to uninstall php-mysql on Linux Mint 20.3 (Una):

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

3. Information about the php-mysql package on Linux Mint 20.3 (Una)

Package: php-mysql
Source: php-defaults (92+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu20.04.1+deb.sury.org+2
Depends: php-common, php8.1-mysql
Filename: pool/main/p/php-defaults/php-mysql_8.1+92+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7288
MD5sum: 83b5780079f8008cb422228b2a5b7b12
SHA1: 93459c247d4bb6cdf7fb16f98a252236a150ab2b
SHA256: 7135175053405d6bdc3b62380259f61bf108822405bb74bbd313d64a553fb119
Description: MySQL module for PHP [default]
Description-md5: b06938348d6d72a1f125f8d3d536eddb

Package: php-mysql
Architecture: all
Version: 2:7.4+75
Priority: optional
Section: php
Source: php-defaults (75)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php-common, php7.4-mysql
Filename: pool/main/p/php-defaults/php-mysql_7.4+75_all.deb
Size: 2000
MD5sum: 17e0d3f87861f893d855950a52f1b733
SHA1: 725266c743b5629dfb0f578d1e6eafd8340b212c
SHA256: 082665212adffa064ff86b47f9dd2e8c4616e33702cd5e04ee7e4e8927543b93
Description: MySQL module for PHP [default]
Description-md5: fd0931ab2661ead520b8033f4308fb69
Task: lamp-server