flawfinder command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
flawfinder: command not found
or when using sudo you get the following error message
sudo: flawfinder: command not found
Solutions to flawfinder: command not found
How To Fix flawfinder: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu flawfinder is provided by flawfinder package.
flawfinder is:
Flawfinder searches through C/C++ source code looking for potential security flaws and produces a report describing the potential flaws found in source code, ranking them by likely severity.
Like RATS, Flawfinder reports are not a direct indication of a vulnerability, but provide a reasonable starting point for performing manual security audits in source code.
Flawfinder can also generate differential reports by pointing it to a patch (diff) file describing the code changes. This way it can be used to determine if the potential flaws found in code have increased or decreased after a commit to a source code management system like CVS or Subversion.
To fix this problem, we can install more using the command below.
sudo apt-get -y install flawfinder
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install flawfinder.
sudo apt -y install flawfinder
Or if you have aptitude installed you can use the following command.
sudo aptitude install flawfinder
Summary
In this tutorial we learn how to fix flawfinder command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.