ferm command not found

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

Introduction

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

ferm: command not found

or when using sudo you get the following error message

sudo: ferm: command not found

Solutions to ferm: command not found

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

In Ubuntu ferm is provided by ferm package.

ferm is:

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.

ferm’s goal is to make firewall rules easy to write and easy to read. It tries to reduce the tedious task of writing down rules, thus enabling the firewall administrator to spend more time on developing good rules than the proper implementation of the rule.

To achieve this, ferm uses a simple but powerful configuration language, which allows variables, functions, arrays, blocks. It also allows you to include other files, allowing you to create libraries of commonly used structures and functions.

ferm, pronounced “firm”, stands for “For Easy Rule Making”.

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

sudo apt-get -y install ferm

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

You can also use apt command to install ferm.

sudo apt -y install ferm

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

sudo aptitude install ferm

Summary

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