How To Install librdmacm.x86_64 on Amazon Linux 2

In this tutorial we learn how to install librdmacm.x86_64 in Amazon Linux 2. librdmacm.x86_64 is Userspace RDMA Connection Manager

Introduction

In this tutorial we learn how to install librdmacm.x86_64 on Amazon Linux 2.

What is librdmacm.x86_64

librdmacm provides a userspace RDMA Communication Management API.

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

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

sudo yum -y install librdmacm.x86_64

How To Uninstall librdmacm.x86_64 on Amazon Linux 2

To uninstall only the librdmacm.x86_64 package we can use the following command:

sudo yum remove librdmacm.x86_64

librdmacm.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/librdmacm.so.1
/usr/lib64/librdmacm.so.1.3.35.0
/usr/lib64/rsocket
/usr/lib64/rsocket/librspreload.so
/usr/lib64/rsocket/librspreload.so.1
/usr/lib64/rsocket/librspreload.so.1.0.0
/usr/share/doc/rdma-core/librdmacm.md
/usr/share/man/man7/rsocket.7.gz

References

Summary

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