Tuesday, 15 November 2022

How to Fix – ‘Error: Unable to find a match: iperf’ on CentOS 8



Mostly the above message through the system when its package or binary not available on CentOS 8 default repositories. Its binary not available in CentOS 8  BaseOS and AppSteam repositories but it can be installed from EPEL Repository. 
 
This utility is mostly used to measure network bandwidth between tow nodes. This article describes How to Fix – ‘Error: Unable to find a match: iperf’ on CentOS 8.

[root@linuxcnf ~]# dnf install iperf
.............................
Error: Unable to find a match: iperf
[root@linuxcnf ~]#

Step 1. Enable EPEL Repository: Follow the article How to configure EPEL repository on CentOS 8 to enable EPEL Repository.
 
Step 2. Package Installation: Run the following command to install iperf package/binary on the system:
 
[root@linuxcnf ~]# dnf install iperf -y
…………………….
Installed:
  iperf-2.1.6-2.el8.x86_64
 
Complete!
[root@linuxcnf ~]#
 
Step 3. Validate the Installation: Run the following command to verify the installation by checking iperf version and binary command location:
 
[root@linuxcnf ~]# iperf --version
iperf version 2.1.6 (10 December 2021) pthreads
[root@linuxcnf ~]#
 
[root@linuxcnf ~]# which iperf
/usr/bin/iperf
[root@linuxcnf ~]#
 
Done!!! Now the ‘iperf’ package installed successfully on CentOS 8.

No comments:

Post a Comment