How To Install freeradius-mysql on AlmaLinux 8

In this tutorial we learn how to install freeradius-mysql in AlmaLinux 8. freeradius-mysql is MySQL support for freeradius

Introduction

In this tutorial we learn how to install freeradius-mysql on AlmaLinux 8.

What is freeradius-mysql

This plugin provides the MySQL support for the FreeRADIUS server project.

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

Install freeradius-mysql 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 freeradius-mysql using dnf by running the following command:

sudo dnf -y install freeradius-mysql

Install freeradius-mysql 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 freeradius-mysql using yum by running the following command:

sudo yum -y install freeradius-mysql

How To Uninstall freeradius-mysql on AlmaLinux 8

To uninstall only the freeradius-mysql package we can use the following command:

sudo dnf remove freeradius-mysql

References

Summary

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