How to install iperf2 in Ubuntu? [duplicate]

Solution 1:

You can install it by downloading all required *.deb files listed in its website:

iperf ubuntu deb files

Choose the version you want and download it with its dependencies. After you have downloaded all those files, you can install them without requiring any Internet connection by using:

sudo dpkg -i libsctp1_1.0.18+dfsg-1_amd64.deb
sudo dpkg -i libiperf0_3.9-1_amd64.deb
sudo dpkg -i iperf3_3.9-1_amd64.deb

This example shows how to install IPerf 3.9 for Ubuntu 64-bits.