How to Uninstall and Install ferm Ubuntu 22.04

Updated: September 19, 2022

ferm is a frontend for iptables. It reads the rules from a structured configuration file and calls iptables(8) to insert them into the running kernel. In this guide, I will show you ways to install ferm Ubuntu 22.04.

Requirements

  • Operating system: Ubuntu 22.04 is needed for ferm to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install ferm on Ubuntu 22.04

Install ferm Ubuntu 22.04

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

Install ferm 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 install ferm on your Ubuntu 22.04.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt -y update

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

sudo apt-get -y install ferm

Install ferm using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After that, you can now install ferm by 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. Opening the terminal and executing the following Linux command:

sudo apt-get update

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

sudo aptitude install ferm

Uninstall ferm on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a ferm, can be easily uninstalled by anyone.

If you installed ferm using APT or Aptitude, you could uninstall ferm on Ubuntu by following this step:

sudo apt remove --auto-remove ferm

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

sudo apt autoremove --purge ferm

Summary

In this guide, I showed you ways to install ferm on Ubuntu 22.04 and some ways to uninstall ferm too. Please contact me if you require any assistance. I’d be delighted to respond.