How To Install freeradius-python.x86_64 on Amazon Linux 2

In this tutorial we learn how to install freeradius-python.x86_64 in Amazon Linux 2. freeradius-python.x86_64 is Python support for freeradius

Introduction

In this tutorial we learn how to install freeradius-python.x86_64 on Amazon Linux 2.

What is freeradius-python.x86_64

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

We can use yum to install freeradius-python.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install freeradius-python.x86_64.

Install freeradius-python.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install freeradius-python.x86_64

How To Uninstall freeradius-python.x86_64 on Amazon Linux 2

To uninstall only the freeradius-python.x86_64 package we can use the following command:

sudo yum remove freeradius-python.x86_64

freeradius-python.x86_64 Package Contents on Amazon Linux 2

/etc/raddb/mods-config/python
/etc/raddb/mods-config/python/example.py
/etc/raddb/mods-config/python/example.pyc
/etc/raddb/mods-config/python/example.pyo
/etc/raddb/mods-config/python/radiusd.py
/etc/raddb/mods-config/python/radiusd.pyc
/etc/raddb/mods-config/python/radiusd.pyo
/usr/lib64/freeradius/rlm_python.so

References

Summary

In this tutorial we learn how to install freeradius-python.x86_64 on Amazon Linux 2 using yum.