How To Install infiniband-diags-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install infiniband-diags-devel.x86_64 in Amazon Linux 2. infiniband-diags-devel.x86_64 is Development files for the infiniband-diags library

Introduction

In this tutorial we learn how to install infiniband-diags-devel.x86_64 on Amazon Linux 2.

What is infiniband-diags-devel.x86_64

Headers and shared devel libraries for the infiniband-diags package.

We can use yum to install infiniband-diags-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install infiniband-diags-devel.x86_64.

Install infiniband-diags-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install infiniband-diags-devel.x86_64 using yum by running the following command:

sudo yum -y install infiniband-diags-devel.x86_64

How To Uninstall infiniband-diags-devel.x86_64 on Amazon Linux 2

To uninstall only the infiniband-diags-devel.x86_64 package we can use the following command:

sudo yum remove infiniband-diags-devel.x86_64

infiniband-diags-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/infiniband
/usr/include/infiniband/ibnetdisc.h
/usr/include/infiniband/ibnetdisc_osd.h
/usr/include/infiniband/mad.h
/usr/include/infiniband/mad_osd.h
/usr/lib64/libibmad.so
/usr/lib64/libibnetdisc.so
/usr/share/man/man3/ibnd_debug.3.gz
/usr/share/man/man3/ibnd_destroy_fabric.3.gz
/usr/share/man/man3/ibnd_discover_fabric.3.gz
/usr/share/man/man3/ibnd_find_node_dr.3.gz
/usr/share/man/man3/ibnd_find_node_guid.3.gz
/usr/share/man/man3/ibnd_iter_nodes.3.gz
/usr/share/man/man3/ibnd_iter_nodes_type.3.gz
/usr/share/man/man3/ibnd_show_progress.3.gz

References

Summary

In this tutorial we learn how to install infiniband-diags-devel.x86_64 on Amazon Linux 2 using yum.