How to Install and Uninstall MariaDB Package on CentOS 8 / RHEL 8

Last updated: May 18,2024

1. Install "MariaDB" package

Please follow the step by step instructions below to install MariaDB on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install MariaDB

2. Uninstall "MariaDB" package

Please follow the guidelines below to uninstall MariaDB on CentOS 8 / RHEL 8:

$ sudo dnf remove MariaDB $ sudo dnf autoremove

3. Information about the MariaDB package on CentOS 8 / RHEL 8

Last metadata expiration check: 0:00:13 ago on Mon 07 Jun 2021 10:41:42 AM UTC.
Available Packages
Name : MariaDB
Version : 10.5.10
Release : 1.el8
Architecture : src
Size : 89 M
Source : None
Repository : mariadb
Summary : MariaDB: a very fast and robust SQL database server
License : GPLv2
Description : MariaDB: a very fast and robust SQL database server
:
: It is GPL v2 licensed, which means you can use the it free of charge under the
: conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/).
:
: MariaDB documentation can be found at https://mariadb.com/kb
: MariaDB bug reports should be submitted through https://jira.mariadb.org

Name : mariadb
Epoch : 3
Version : 10.3.28
Release : 1.module_el8.3.0+757+d382997d
Architecture : x86_64
Size : 6.0 M
Source : mariadb-10.3.28-1.module_el8.3.0+757+d382997d.src.rpm
Repository : appstream
Summary : A very fast and robust SQL database server
URL : http://mariadb.org
License : GPLv2 with exceptions and LGPLv2 and BSD
Description : MariaDB is a community developed branch of MySQL - a multi-user, multi-threaded
: SQL database server. It is a client/server implementation consisting of
: a server daemon (mysqld) and many different client programs and libraries.
: The base package contains the standard MariaDB/MySQL client programs and
: generic MySQL files.