Ubuntu18.04 iPerf3 安装
1、下载iPerf3源码:git clone https://github.com/esnet/iperf.git
2、安装步骤
2.1、cd iperf
2.2、sudo ./configure
2.3、sudo make
2.4、sudo make install
3、查看安装是否成功
iperf3 –v
iperf 3.9 (cJSON 1.7.13) Linux ubuntu 5.4.0-52-generic
#57~18.04.1-Ubuntu SMP Thu Oct 15 14:04:49 UTC 2020 x86_64 Optional features available: CPU affinity setting, IPv6 flow label, TCP
congestion algorithm setting, sendfile / zerocopy, socket pacing,
authentication
4、如果报错:iperf3: error while loading shared libraries: libiperf.so.0: cannot open shared object file: No such file or directory
解决办法:sudo /sbin/ldconfig