How To Install mariadb-server-core-10.3 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install mariadb-server-core-10.3
on Ubuntu 20.04.
What is mariadb-server-core-10.3
mariadb-server-core-10.3 is:
MariaDB 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 MariaDB are speed, robustness and ease of use.
This package includes the core server files, as used by Akonadi.
Package: mariadb-server-core-10.3 Architecture: amd64 Version: 1:10.3.22-1ubuntu1 Priority: optional Section: universe/database Source: mariadb-10.3 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian MySQL Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 37380 Provides: virtual-mysql-server-core Depends: mariadb-common (>= 1:10.3.22-1ubuntu1), libaio1 (>= 0.3.93), libc6 (>= 2.29), libcrypt1 (>= 1:4.1.0), liblz4-1 (>= 0.0~r130), libpcre3, libsnappy1v5 (>= 1.1.8), libstdc++6 (>= 9), libsystemd0, zlib1g (>= 1:1.2.0) Conflicts: mariadb-galera-server-5.5, mysql-server-5.5, mysql-server-5.6, mysql-server-5.7, mysql-server-8.0, virtual-mysql-server-core Breaks: mariadb-client-10.1, mariadb-server-10.1, mariadb-server-10.2, mariadb-server-10.3 (« 1:10.3.13-2), mariadb-server-core-10.0, mariadb-server-core-10.1, mariadb-server-core-10.2, mariadb-server-core-5.5, mysql-client-5.5, mysql-client-5.6, mysql-server-core-5.5, mysql-server-core-5.6, mysql-server-core-5.7, mysql-server-core-8.0 Replaces: mariadb-client-10.1, mariadb-server-10.1, mariadb-server-10.2, mariadb-server-10.3 (« 1:10.3.13-2), mariadb-server-core-10.0, mariadb-server-core-10.1, mariadb-server-core-10.2, mariadb-server-core-5.5, mysql-client-5.5, mysql-client-5.6, mysql-client-5.7, mysql-client-8.0, mysql-server-core-5.5, mysql-server-core-5.6, mysql-server-core-5.7, mysql-server-core-8.0, virtual-mysql-server-core Filename: pool/universe/m/mariadb-10.3/mariadb-server-core-10.3_10.3.22-1ubuntu1_amd64.deb Size: 6011348 MD5sum: 899faeab2a9783ea47d7cc6b092a9d22 SHA1: 78451a63301325c1b7209b7476a78624455ddcf1 SHA256: 5af42a646e5f783c69d5387f0bb698afdada91023382d3f487dd994657611fe7 Homepage: https://mariadb.org/ Description-en: MariaDB database core server files MariaDB 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 MariaDB are speed, robustness and ease of use.
This package includes the core server files, as used by Akonadi.
There are three methods to install mariadb-server-core-10.3
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 mariadb-server-core-10.3 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install mariadb-server-core-10.3
using apt-get
by running the following command:
sudo apt-get -y install mariadb-server-core-10.3
Install mariadb-server-core-10.3 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mariadb-server-core-10.3
using apt
by running the following command:
sudo apt -y install mariadb-server-core-10.3
Install mariadb-server-core-10.3 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 mariadb-server-core-10.3
using aptitude
by running the following command:
sudo aptitude -y install mariadb-server-core-10.3
How To Uninstall mariadb-server-core-10.3 on Ubuntu 20.04
To uninstall only the mariadb-server-core-10.3
package we can use the following command:
sudo apt-get remove mariadb-server-core-10.3
Uninstall mariadb-server-core-10.3 And Its Dependencies
To uninstall mariadb-server-core-10.3
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove mariadb-server-core-10.3
Remove mariadb-server-core-10.3 Configurations and Data
To remove mariadb-server-core-10.3
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge mariadb-server-core-10.3
Remove mariadb-server-core-10.3 configuration, data, and all of its dependencies
We can use the following command to remove mariadb-server-core-10.3
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mariadb-server-core-10.3
References
Summary
In this tutorial we learn how to install mariadb-server-core-10.3
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.