flashbench-erase command not found

In this troubleshooting guide we learn how to fix flashbench-erase command not found error message

Introduction

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

flashbench-erase: command not found

or when using sudo you get the following error message

sudo: flashbench-erase: command not found

Solutions to flashbench-erase: command not found

How To Fix flashbench-erase: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu flashbench-erase is provided by flashbench package.

flashbench is:

This utility helps to identify properties of SD cards and flash based storage. In particular it can be used to discover page and segement sizes and maximum number of concurrently open segments. These properties can then be used to better align paritions and tune filesystem options for maximum performance.

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

sudo apt-get -y install flashbench

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

You can also use apt command to install flashbench.

sudo apt -y install flashbench

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

sudo aptitude install flashbench

Summary

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