Ways to Uninstall or Install freeradius on Ubuntu 22.04

Updated: September 19, 2022

FreeRADIUS is a high-performance RADIUS server with support for: In this tutorial, I will show you ways to install freeradius Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install freeradius on Ubuntu 22.04

Install freeradius Ubuntu 22.04

freeradius is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install freeradius using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these instructions to get freeradius on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install freeradius Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt -y install freeradius

Install freeradius using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt-get -y install aptitude

After installing, you can now install freeradius, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. You can now install freeradius Ubuntu by executing this command in the terminal.

sudo aptitude install freeradius

Uninstall freeradius on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just freeradius.

If you installed freeradius using APT or Aptitude, you could uninstall freeradius on Ubuntu by running this command

sudo apt remove --auto-remove freeradius

To uninstall freeradius and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge freeradius

Conclusion

In this guide, I showed you ways to install freeradius on Ubuntu 22.04 and ways to uninstall freeradius too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.