"Fossies" - the Fresh Open Source Software Archive

Member "flawfinder-2.0.19/INSTALL.md" (3 Jan 2021, 4914 Bytes) of package /linux/privat/flawfinder-2.0.19.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Installing flawfinder

You can install flawfinder a number of different ways. Choose the approach that’s most convenient for you! The options (described below) are (1) pip, (2) package for Unix-like system, (3) source install, and (4) run directly.

1. PIP

For many, the simple approach is to first install Python (2.7 or something reasonable in the 3.X series). Then use pip to install flawfinder (this will normally download the package):

pip install flawfinder

One advantage for using pip is that you’ll generally get the current released version.

2. PACKAGE FOR UNIX-LIKE SYSTEM (including Cygwin):

If you use an RPM-based system (e.g., Red Hat) or deb-based system (e.g., Debian), you can use their respective RPM or debian installation program and just install it; then ignore the rest of these instructions. For a ports-based system where you have a current port, just use that.

This will work out-of-the-box; it may not be the most recent version.

One way to accomplish this is:

sudo apt install flawfinder


QUICK START: The quick way to install flawfinder from the tarball is to unpack the tarball and type in something like this on the command line:

sudo make prefix=/usr install

Omit prefix=/usr to install in /usr/local instead. Omit “sudo” if you are already root. Note that this installation approach follows the usual install conventions as described below, including prefix= and DESTDIR.

Not enough? Here are more detailed step-by-step instructions and options.


You can also simply run the program in the directory you’ve unpacked it into. It’s a simple Python program, just type into a command line: