iperf3 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
iperf3: command not found
or when using sudo you get the following error message
sudo: iperf3: command not found
Solutions to iperf3: command not found
How To Fix iperf3: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu iperf3 is provided by iperf3 package.
iperf3 is:
Iperf3 is a tool for performing network throughput measurements. It can test either TCP or UDP throughput.
This is a new implementation that shares no code with the original iperf from NLANR/DAST and also is not backwards compatible.
This package contains the command line utility.
To fix this problem, we can install more using the command below.
sudo apt-get -y install iperf3
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install iperf3.
sudo apt -y install iperf3
Or if you have aptitude installed you can use the following command.
sudo aptitude install iperf3
Summary
In this tutorial we learn how to fix iperf3 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.