How to Install and Uninstall php5.6-mysql Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 26,2024

1. Install "php5.6-mysql" package

Please follow the step by step instructions below to install php5.6-mysql on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php5.6-mysql

2. Uninstall "php5.6-mysql" package

Please follow the steps below to uninstall php5.6-mysql on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php5.6-mysql $ sudo apt autoclean && sudo apt autoremove

3. Information about the php5.6-mysql package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php5.6-mysql
Source: php5.6
Priority: optional
Section: php
Installed-Size: 555
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-68+ubuntu20.04.1+deb.sury.org+1
Provides: php-mysql, php-mysqli, php-mysqlnd, php-pdo-mysql, php5.6-mysqli, php5.6-mysqlnd, php5.6-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php5.6-common (= 5.6.40-68+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php5.6/php5.6-mysql_5.6.40-68+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 142384
MD5sum: 98bfb94af1159be1e5f978d31bf6aa2b
SHA1: ea701da2b5559252db6b2b3e320b65370437c5b0
SHA256: 33aa885c2a5456703b52a36af4e3f3e605f44ce4c69b260e585965e4f906cbdb
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f