filtergen command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
filtergen: command not found
or when using sudo you get the following error message
sudo: filtergen: command not found
Solutions to filtergen: command not found
How To Fix filtergen: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu filtergen is provided by filtergen package.
filtergen is:
filtergen is a packet filter generator. It compiles a fairly high-level description language into iptables, ipchains, or ipfilter scripts (and has bits of support for Cisco IOS access lists).
To fix this problem, we can install more using the command below.
sudo apt-get -y install filtergen
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install filtergen.
sudo apt -y install filtergen
Or if you have aptitude installed you can use the following command.
sudo aptitude install filtergen
Summary
In this tutorial we learn how to fix filtergen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.