How To Install freeradius-utils on CentOS 8

freeradius-utils is FreeRADIUS utilities

Introduction

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

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 8. 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 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install freeradius-utils

Install freeradius-utils on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install freeradius-utils

How To Uninstall freeradius-utils on CentOS 8

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

sudo dnf remove freeradius-utils

freeradius-utils Package Contents on CentOS 8

/usr/bin/dhcpclient
/usr/bin/map_unit
/usr/bin/rad_counter
/usr/bin/radattr
/usr/bin/radclient
/usr/bin/radcrypt
/usr/bin/radeapclient
/usr/bin/radlast
/usr/bin/radsniff
/usr/bin/radsqlrelay
/usr/bin/radtest
/usr/bin/radwho
/usr/bin/radzap
/usr/bin/rlm_ippool_tool
/usr/bin/smbencrypt
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/3683ecfea4c90fae895a0a843e3c63ee5026cf
/usr/lib/.build-id/69
/usr/lib/.build-id/69/0a9fa62a756c6076ff659894cf7337601d57b6
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/8ee60e463e18c6b9c4a9fcad5b95490aa5c813
/usr/lib/.build-id/85
/usr/lib/.build-id/85/652ab7759ffda1e58a77167d8d7d201867a8dc
/usr/lib/.build-id/94
/usr/lib/.build-id/94/707ef540a390248a907b3e57cfadafd8a17043
/usr/lib/.build-id/96
/usr/lib/.build-id/96/5e227f9864186ef99fb25c8ee503a59c5df794
/usr/lib/.build-id/98
/usr/lib/.build-id/98/eb4c7db12248b2060319eb6eea353de50e5e6e
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/338031eed92890c78d26b49588be4d2051f686
/usr/lib/.build-id/f8/369d5d402ce318f1799249ac15c8e677b7ff0a
/usr/share/man/man1/dhcpclient.1.gz
/usr/share/man/man1/rad_counter.1.gz
/usr/share/man/man1/radclient.1.gz
/usr/share/man/man1/radeapclient.1.gz
/usr/share/man/man1/radlast.1.gz
/usr/share/man/man1/radtest.1.gz
/usr/share/man/man1/radwho.1.gz
/usr/share/man/man1/radzap.1.gz
/usr/share/man/man1/smbencrypt.1.gz
/usr/share/man/man5/checkrad.5.gz
/usr/share/man/man8/radcrypt.8.gz
/usr/share/man/man8/radsniff.8.gz
/usr/share/man/man8/radsqlrelay.8.gz
/usr/share/man/man8/rlm_ippool_tool.8.gz

References

Summary

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