afl-clang-fast++ command not found

In this troubleshooting guide we learn how to fix afl-clang-fast++ command not found error message

Introduction

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

afl-clang-fast++: command not found

or when using sudo you get the following error message

sudo: afl-clang-fast++: command not found

Solutions to afl-clang-fast++: command not found

How To Fix afl-clang-fast++: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu afl-clang-fast++ is provided by afl++ package.

afl++ is:

American fuzzy lop is a fuzzer that employs compile-time instrumentation and genetic algorithms to automatically discover clean, interesting test cases that trigger new internal states in the targeted binary. This substantially improves the functional coverage for the fuzzed code. The compact synthesized corpora produced by the tool are also useful for seeding other, more labor- or resource-intensive testing regimes down the road.

afl++-fuzz is designed to be practical: it has modest performance overhead, uses a variety of highly effective fuzzing strategies, requires essentially no configuration, and seamlessly handles complex, real-world use cases - say, common image parsing or file compression libraries.

afl++ is a fork of the unmaintained afl.

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

sudo apt-get -y install afl++

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

You can also use apt command to install afl++.

sudo apt -y install afl++

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

sudo aptitude install afl++

Summary

In this tutorial we learn how to fix afl-clang-fast++ command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.