How To Install freeradius-ldap on Rocky Linux 8

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

Introduction

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

What is freeradius-ldap

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

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

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

sudo dnf -y install freeradius-ldap

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

sudo yum -y install freeradius-ldap

How To Uninstall freeradius-ldap on Rocky Linux 8

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

sudo dnf remove freeradius-ldap

freeradius-ldap Package Contents on Rocky Linux 8

/etc/raddb/mods-available/ldap
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/8c6216d25073e335b28164bd113fe25aef852e
/usr/lib64/freeradius/rlm_ldap.so

References

Summary

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