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.

Contents

Adding the MariaDB YUM repository

Using the MariaDB Package Repository Setup Script

Using the MariaDB Repository Configuration Tool

Pinning the MariaDB Repository to a Specific Minor Release

Updating the MariaDB YUM repository to a New Major Release

Updating the Major Release with the MariaDB Package Repository Setup Script

Updating the Major Release with the MariaDB Repository Configuration Tool

Importing the MariaDB GPG Public Key

Installing MariaDB Packages with YUM

Installing the Most Common Packages with YUM

Installing MariaDB Server with YUM

Installing MariaDB Galera Cluster with YUM

Installing MariaDB Clients and Client Libraries with YUM

Installing Mariabackup with YUM

Installing Plugins with YUM

Installing Debug Info Packages with YUM

Installing Debug Info for the Most Common Packages with YUM

Installing Debug Info for MariaDB Server with YUM

Installing Debug Info for MariaDB Clients and Client Libraries with YUM

Installing Debug Info for Mariabackup with YUM

Installing Debug Info for Plugins with YUM

Installing Older Versions from the Repository

After Installation

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

CentOS 6

CentOS 7

Fedora 27

Fedora 28

Fedora 29

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