How To Install libibverbs-utils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libibverbs-utils.x86_64 in Amazon Linux 2. libibverbs-utils.x86_64 is Examples for the libibverbs library

Introduction

In this tutorial we learn how to install libibverbs-utils.x86_64 on Amazon Linux 2.

What is libibverbs-utils.x86_64

Useful libibverbs example programs such as ibv_devinfo, which displays information about RDMA devices.

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

Install libibverbs-utils.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 libibverbs-utils.x86_64 using yum by running the following command:

sudo yum -y install libibverbs-utils.x86_64

How To Uninstall libibverbs-utils.x86_64 on Amazon Linux 2

To uninstall only the libibverbs-utils.x86_64 package we can use the following command:

sudo yum remove libibverbs-utils.x86_64

libibverbs-utils.x86_64 Package Contents on Amazon Linux 2

/usr/bin/ibv_asyncwatch
/usr/bin/ibv_devices
/usr/bin/ibv_devinfo
/usr/bin/ibv_rc_pingpong
/usr/bin/ibv_srq_pingpong
/usr/bin/ibv_uc_pingpong
/usr/bin/ibv_ud_pingpong
/usr/bin/ibv_xsrq_pingpong
/usr/share/man/man1/ibv_asyncwatch.1.gz
/usr/share/man/man1/ibv_devices.1.gz
/usr/share/man/man1/ibv_devinfo.1.gz
/usr/share/man/man1/ibv_rc_pingpong.1.gz
/usr/share/man/man1/ibv_srq_pingpong.1.gz
/usr/share/man/man1/ibv_uc_pingpong.1.gz
/usr/share/man/man1/ibv_ud_pingpong.1.gz
/usr/share/man/man1/ibv_xsrq_pingpong.1.gz

References

Summary

In this tutorial we learn how to install libibverbs-utils.x86_64 on Amazon Linux 2 using yum.