jmeter command not found

In this troubleshooting guide we learn how to fix jmeter command not found error message

Introduction

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

jmeter: command not found

or when using sudo you get the following error message

sudo: jmeter: command not found

Solutions to jmeter: command not found

How To Fix jmeter: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu jmeter is provided by jmeter package.

jmeter is:

Apache JMeter is a 100% pure Java desktop application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

This package contains the main application.

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

sudo apt-get -y install jmeter

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

You can also use apt command to install jmeter.

sudo apt -y install jmeter

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

sudo aptitude install jmeter

Summary

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