How To Install mariadb-devel on AlmaLinux 8

In this tutorial we learn how to install mariadb-devel in AlmaLinux 8. mariadb-devel is Files for development of MariaDB/MySQL applications

Introduction

In this tutorial we learn how to install mariadb-devel on AlmaLinux 8.

What is mariadb-devel

MariaDB is a multi-user, multi-threaded SQL database server. MariaDB is a community developed branch of MySQL. This package contains everything needed for developing MariaDB/MySQL server applications. For developing client applications, use mariadb-connector-c package.

We can use yum or dnf to install mariadb-devel on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mariadb-devel.

Install mariadb-devel on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mariadb-devel using dnf by running the following command:

sudo dnf -y install mariadb-devel

Install mariadb-devel on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mariadb-devel using yum by running the following command:

sudo yum -y install mariadb-devel

How To Uninstall mariadb-devel on AlmaLinux 8

To uninstall only the mariadb-devel package we can use the following command:

sudo dnf remove mariadb-devel

References

Summary

In this tutorial we learn how to install mariadb-devel on AlmaLinux 8 using yum and dnf.