Installing MariaDB with yum/dnf
On RHEL, CentOS, Fedora, and other similar Linux distributions, it is highly recommended to install the relevant RPM packages from MariaDB's repository using yum or dnf. Starting with RHEL 8 and Fedora 22, yum has been replaced by dnf, which is the next major version of yum. However, yum commands still work on many systems that use dnf.
This page walks you through the simple installation steps using yum.
Adding the MariaDB YUM repository
We currently have YUM repositories for the following Linux distributions:
Red Hat Enterprise Linux (RHEL) 6
Red Hat Enterprise Linux (RHEL) 7
Using the MariaDB Package Repository Setup Script
If you want to install MariaDB with yum, then you can configure yum to install from MariaDB Corporation's MariaDB Package Repository by using the MariaDB Package Repository setup script.
Link to PDF : Installing MariaDB with yum/dnf