How To Install freeradius-unixODBC on Rocky Linux 8

In this tutorial we learn how to install freeradius-unixODBC on Rocky Linux 8. freeradius-unixODBC is Unix ODBC support for freeradius

Introduction

In this tutorial we learn how to install freeradius-unixODBC on Rocky Linux 8.

What is freeradius-unixODBC

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

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

Install freeradius-unixODBC on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install freeradius-unixODBC

Install freeradius-unixODBC on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install freeradius-unixODBC

How To Uninstall freeradius-unixODBC on Rocky Linux 8

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

sudo dnf remove freeradius-unixODBC

freeradius-unixODBC Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/c18aa7fd44576cdd31bf3ecbc1ed65159692ce
/usr/lib64/freeradius/rlm_sql_unixodbc.so

References

Summary

In this tutorial we learn how to install freeradius-unixODBC on Rocky Linux 8 using yum and dnf.