How To Install freeradius-rest on Rocky Linux 8

In this tutorial we learn how to install freeradius-rest on Rocky Linux 8. freeradius-rest is REST support for freeradius

Introduction

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

What is freeradius-rest

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

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

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

sudo dnf -y install freeradius-rest

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

sudo yum -y install freeradius-rest

How To Uninstall freeradius-rest on Rocky Linux 8

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

sudo dnf remove freeradius-rest

freeradius-rest Package Contents on Rocky Linux 8

/etc/raddb/mods-available/rest
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/024817626a1d42b41f8d90d52bc38f47a3494d
/usr/lib64/freeradius/rlm_rest.so

References

Summary

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