fwanalog command not found

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

Introduction

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

fwanalog: command not found

or when using sudo you get the following error message

sudo: fwanalog: command not found

Solutions to fwanalog: command not found

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

In Ubuntu fwanalog is provided by fwanalog package.

fwanalog is:

fwanalog is a shell script that parses and summarizes firewall logfiles. It is able to work on firewall logs from ipchains (Linux 2.2), iptables (Linux 2.4), ipf (OpenBSD, FreeBSD and NetBSD) and some ZyXEL/NetGear routers.

It uses analog to generate the log-files, which includes daily statistics and such, and is both formatted in html and text (for online perusing, and a daily email, for instance).

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

sudo apt-get -y install fwanalog

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

You can also use apt command to install fwanalog.

sudo apt -y install fwanalog

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

sudo aptitude install fwanalog

Summary

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