How To Install python3-freeradius on Rocky Linux 8

In this tutorial we learn how to install python3-freeradius on Rocky Linux 8. python3-freeradius is Python 3 support for freeradius

Introduction

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

What is python3-freeradius

This plugin provides the Python 3 support for the FreeRADIUS server project.

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

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

sudo dnf -y install python3-freeradius

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

sudo yum -y install python3-freeradius

How To Uninstall python3-freeradius on Rocky Linux 8

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

sudo dnf remove python3-freeradius

python3-freeradius Package Contents on Rocky Linux 8

/etc/raddb/mods-config/python3
/etc/raddb/mods-config/python3/example.py
/etc/raddb/mods-config/python3/radiusd.py
/usr/lib/.build-id
/usr/lib/.build-id/a1/5e780e33623ab50c5fcb1b97d7da6596debd61
/usr/lib64/freeradius/rlm_python3.so

References

Summary

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