lmbench-run command not found

In this troubleshooting guide we learn how to fix lmbench-run command not found error message

Introduction

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

lmbench-run: command not found

or when using sudo you get the following error message

sudo: lmbench-run: command not found

Solutions to lmbench-run: command not found

How To Fix lmbench-run: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lmbench-run is provided by lmbench package.

lmbench is:

Lmbench is a set of utilities to test the performance of a unix system producing detailed results as well as providing tools to process them. It includes a series of micro benchmarks that measure some basic operating system and hardware metrics:

  • file reading and summing
  • memory bandwidth while reading, writing and copying
  • copying data through pipes
  • copying data through Unix sockets
  • reading data through TCP/IP sockets

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

sudo apt-get -y install lmbench

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

You can also use apt command to install lmbench.

sudo apt -y install lmbench

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

sudo aptitude install lmbench

Summary

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