How To Install freeradius-utils on CentOS 7

In this tutorial we learn how to install freeradius-utils on CentOS 7. freeradius-utils is FreeRADIUS utilities

Introduction

In this tutorial we learn how to install freeradius-utils on CentOS 7.

What is freeradius-utils

The FreeRADIUS server has a number of features found in other servers, and additional features not found in any other server. Rather than doing a feature by feature comparison, we will simply list the features of the server, and let you decide if they satisfy your needs. Support for RFC and VSA Attributes Additional server configuration attributes Selecting a particular configuration Authentication methods

We can use yum or dnf to install freeradius-utils on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install freeradius-utils.

Install freeradius-utils on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install freeradius-utils

Install freeradius-utils on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install freeradius-utils

How To Uninstall freeradius-utils on CentOS 7

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

sudo dnf remove freeradius-utils

References

Summary

In this tutorial we learn how to install freeradius-utils on CentOS 7 using yum and dnf.