How To Install Iperf?

How To Install Iperf?

iperf

Measure network bandwidth between computers.

Maintainer: Roberto Lumbreras



Section: net

Install iperf

  • Debian apt-get install iperf Click to copy
  • Ubuntu apt-get install iperf Click to copy
  • Alpine OS apk add iperf Click to copy
  • Arch Linux pacman -S iperf Click to copy
  • Kali Linux apt-get install iperf Click to copy
  • Fedora dnf install iperf Click to copy
  • Raspbian apt-get install iperf Click to copy
  • macOS brew install iperf Click to copy

Measure network bandwidth between computers.

How to use iperf?

Below are few example commands for iperf that you can use in the terminal.

Run on server:
iperf -sClick to copy
Run on client:
iperf -c server_addressClick to copy
Run on client with 5 parallel threads:
iperf -c server_address -P 5Click to copy
Install the latest version of iperf in Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS from terminal. To install the iperf just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of iperf from the respository and install it in your computer/server.