freeradius command not found

In this troubleshooting guide we learn how to fix freeradius command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

freeradius: command not found

or when using sudo you get the following error message

sudo: freeradius: command not found

Solutions to freeradius: command not found

How To Fix freeradius: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu freeradius is provided by freeradius package.

freeradius is:

FreeRADIUS is a high-performance RADIUS server with support for:

  • Authentication by local files, SQL, Kerberos, LDAP, PAM, and more.
  • Powerful policy configuration language.
  • Proxying and replicating requests by any criteria.
  • Support for many EAP types; TLS, PEAP, TTLS, etc.
  • Many vendor-specific attributes.
  • Regexp matching in string attributes. and lots more.

To fix this problem, we can install more using the command below.

sudo apt-get -y install freeradius

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install freeradius.

sudo apt -y install freeradius

Or if you have aptitude installed you can use the following command.

sudo aptitude install freeradius

Summary

In this tutorial we learn how to fix freeradius command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.