How To Install mysql-client-core-8.0 on Ubuntu 20.04

In this tutorial we learn how to install mysql-client-core-8.0 on Ubuntu 20.04. mysql-client-core-8.0 is MySQL database core client binaries MySQL database core client binaries

Introduction

In this tutorial we learn how to install mysql-client-core-8.0 on Ubuntu 20.04.

What is mysql-client-core-8.0

mysql-client-core-8.0 is:

MySQL is a fast, stable and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query language in the world. The main goals of MySQL are speed, robustness and ease of use.

This package includes the core client files, as used by Akonadi. Task: lamp-server

Package: mysql-client-core-8.0 Architecture: amd64 Version: 8.0.19-0ubuntu5 Priority: optional Section: database Source: mysql-8.0 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian MySQL Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 63145 Provides: virtual-mysql-client-core Depends: libc6 (>= 2.29), libedit2 (>= 2.11-20080614-0), libgcc-s1 (>= 3.4), liblz4-1 (>= 0.0~r127), libssl1.1 (>= 1.1.1), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4) Conflicts: mariadb-client-10.1, mariadb-client-10.3, mariadb-client-core-10.1, mariadb-client-core-10.3, mysql-client-5.7, mysql-client-core-5.7, virtual-mysql-client-core Filename: pool/main/m/mysql-8.0/mysql-client-core-8.0_8.0.19-0ubuntu5_amd64.deb Size: 4186852 MD5sum: f262c033f6e1b15d61f32a6b077fd6f5 SHA1: 14ff2b0512c796871e06b253eff44253f86653a5 SHA256: 1ffbc2972e74ac23a675b6eecf5941c2fb14e3149567333aa99c0c5ca40dbc00 Homepage: http://dev.mysql.com/ Description-en: MySQL database core client binaries MySQL is a fast, stable and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query language in the world. The main goals of MySQL are speed, robustness and ease of use.

This package includes the core client files, as used by Akonadi. Task: lamp-server

There are three methods to install mysql-client-core-8.0 on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install mysql-client-core-8.0 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install mysql-client-core-8.0 using apt-get by running the following command:

sudo apt-get -y install mysql-client-core-8.0

Install mysql-client-core-8.0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mysql-client-core-8.0 using apt by running the following command:

sudo apt -y install mysql-client-core-8.0

Install mysql-client-core-8.0 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install mysql-client-core-8.0 using aptitude by running the following command:

sudo aptitude -y install mysql-client-core-8.0

How To Uninstall mysql-client-core-8.0 on Ubuntu 20.04

To uninstall only the mysql-client-core-8.0 package we can use the following command:

sudo apt-get remove mysql-client-core-8.0

Uninstall mysql-client-core-8.0 And Its Dependencies

To uninstall mysql-client-core-8.0 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove mysql-client-core-8.0

Remove mysql-client-core-8.0 Configurations and Data

To remove mysql-client-core-8.0 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge mysql-client-core-8.0

Remove mysql-client-core-8.0 configuration, data, and all of its dependencies

We can use the following command to remove mysql-client-core-8.0 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mysql-client-core-8.0

References

Summary

In this tutorial we learn how to install mysql-client-core-8.0 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.