How To Install Iperf3?

How To Install Iperf3?

iperf3

Traffic generator for testing network bandwidth.

Maintainer: Roberto Lumbreras



Section: net

Install iperf3

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

Traffic generator for testing network bandwidth.

How to use iperf3?

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

Run iperf3 as a server:
iperf3 -sClick to copy
Run an iperf3 server on a specific port:
iperf3 -s -p portClick to copy
Start bandwidth test:
iperf3 -c serverClick to copy
Run iperf3 in multiple parallel streams:
iperf3 -c server -P streamsClick to copy
Reverse direction of the test. Server sends data to the client:
iperf3 -c server -RClick to copy
Installing iperf3 command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of iperf3 2026 package in your OS.