How To Install mysql-testsuite-8.0 on Ubuntu 20.04

In this tutorial we learn how to install mysql-testsuite-8.0 on Ubuntu 20.04. mysql-testsuite-8.0 is MySQL 8.0 testsuite MySQL 8.0 testsuite

Introduction

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

What is mysql-testsuite-8.0

mysql-testsuite-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 MySQL testsuite.

Package: mysql-testsuite-8.0 Architecture: amd64 Version: 8.0.19-0ubuntu5 Priority: optional Section: universe/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: 531222 Provides: virtual-mysql-testsuite Depends: libjson-perl, lz4, mysql-client-8.0 (= 8.0.19-0ubuntu5), mysql-server-8.0 (= 8.0.19-0ubuntu5), unzip, libc6 (>= 2.28), libgcc-s1 (>= 3.4), liblz4-1 (>= 0.0~r127), libssl1.1 (>= 1.1.1), libstdc++6 (>= 9), zlib1g (>= 1:1.1.4) Conflicts: mariadb-testsuite-10.1, mariadb-testsuite-10.3, mysql-testsuite-5.7, virtual-mysql-testsuite Filename: pool/universe/m/mysql-8.0/mysql-testsuite-8.0_8.0.19-0ubuntu5_amd64.deb Size: 200810040 MD5sum: d6510d6a83af3bd882fe1a2c8a0a464c SHA1: 357b38f59d07c26250f436da3855c93983ae454e SHA256: d1acf855bd3ecc774552423c09af367df71b7b20d54eb01c5a48713c0f7c0456 Homepage: http://dev.mysql.com/ Description-en: MySQL 8.0 testsuite 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 MySQL testsuite.

There are three methods to install mysql-testsuite-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-testsuite-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-testsuite-8.0 using apt-get by running the following command:

sudo apt-get -y install mysql-testsuite-8.0

Install mysql-testsuite-8.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mysql-testsuite-8.0

Install mysql-testsuite-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-testsuite-8.0 using aptitude by running the following command:

sudo aptitude -y install mysql-testsuite-8.0

How To Uninstall mysql-testsuite-8.0 on Ubuntu 20.04

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

sudo apt-get remove mysql-testsuite-8.0

Uninstall mysql-testsuite-8.0 And Its Dependencies

To uninstall mysql-testsuite-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-testsuite-8.0

Remove mysql-testsuite-8.0 Configurations and Data

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

sudo apt-get -y purge mysql-testsuite-8.0

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

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

sudo apt-get -y autoremove --purge mysql-testsuite-8.0

References

Summary

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