How To Install usnic-tools on CentOS 7

In this tutorial we learn how to install usnic-tools on CentOS 7. usnic-tools is Simple utilities to test Cisco Virtual NIC operability

Introduction

In this tutorial we learn how to install usnic-tools on CentOS 7.

What is usnic-tools

This package includes ibv_ud_pingpong modified to work with libusnic_verbs devices and a few minor scripts for checking the versions of software installed on the machine and providing useful information to Cisco technical support.

We can use yum or dnf to install usnic-tools on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install usnic-tools.

Install usnic-tools on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install usnic-tools using yum by running the following command:

sudo yum -y install usnic-tools

Install usnic-tools on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install usnic-tools using dnf by running the following command:

sudo dnf -y install usnic-tools

How To Uninstall usnic-tools on CentOS 7

To uninstall only the usnic-tools package we can use the following command:

sudo dnf remove usnic-tools

References

Summary

In this tutorial we learn how to install usnic-tools on CentOS 7 using yum and dnf.