How to Install and Uninstall mysql-client Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 14,2024

1. Install "mysql-client" package

This tutorial shows how to install mysql-client on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install mysql-client

2. Uninstall "mysql-client" package

Please follow the instructions below to uninstall mysql-client on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the mysql-client package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: mysql-client
Architecture: all
Version: 5.7.33-0ubuntu0.16.04.1
Priority: optional
Section: database
Source: mysql-5.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 108
Depends: mysql-client-5.7
Filename: pool/main/m/mysql-5.7/mysql-client_5.7.33-0ubuntu0.16.04.1_all.deb
Size: 10048
MD5sum: dfba473cfede8a8c3a06f886d63d66a0
SHA1: d2596ab61ca3bd1d5053714ec8e2ead79f122a51
SHA256: 98b8c781b8321f6e30027ade0a3b1c5c5a419aa4581e39d2a1083c2fea19ce5e
SHA512: 1074cec12a64c4b16c2825907b1c49ed1364059723f75babdcbc11f236571a574a38702e9a380c7345bde1a2dc1296274e1d865a30b8dc642168ba93894362c6
Homepage: http://dev.mysql.com/
Description-en: MySQL database client (metapackage depending on the latest version)
This is an empty package that depends on the current "best" version of
mysql-client (currently mysql-client-5.7), as determined by the MySQL
maintainers. Install this package if in doubt about which MySQL version
you want, as this is the one considered to be in the best shape by the
Maintainers.
Description-md5: 2f84e14e4be72461e753c2cc8fc8446a
Task: mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master
Supported: 5y

Package: mysql-client
Priority: optional
Section: database
Installed-Size: 180
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MySQL Maintainers
Architecture: all
Source: mysql-5.7
Version: 5.7.11-0ubuntu6
Depends: mysql-client-5.7
Filename: pool/main/m/mysql-5.7/mysql-client_5.7.11-0ubuntu6_all.deb
Size: 10008
MD5sum: 6ffdc16af891ae8bfc80d77a1d864e28
SHA1: dff95a0b65d7e423f6fad9b1ded933e47608f469
SHA256: 3dcad1d21df72d4f06d3f3f6144e8fdfaeed6500abe4cfe2d4d0cac2b43e3e03
Description-en: MySQL database client (metapackage depending on the latest version)
This is an empty package that depends on the current "best" version of
mysql-client (currently mysql-client-5.7), as determined by the MySQL
maintainers. Install this package if in doubt about which MySQL version
you want, as this is the one considered to be in the best shape by the
Maintainers.
Description-md5: 2f84e14e4be72461e753c2cc8fc8446a
Homepage: http://dev.mysql.com/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master