How To Install librdmacm on Rocky Linux 8

In this tutorial we learn how to install librdmacm on Rocky Linux 8. librdmacm is Userspace RDMA Connection Manager

Introduction

In this tutorial we learn how to install librdmacm on Rocky Linux 8.

What is librdmacm

librdmacm provides a userspace RDMA Communication Management API.

We can use yum or dnf to install librdmacm on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install librdmacm.

Install librdmacm on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install librdmacm

Install librdmacm on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install librdmacm using yum by running the following command:

sudo yum -y install librdmacm

How To Uninstall librdmacm on Rocky Linux 8

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

sudo dnf remove librdmacm

librdmacm Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/a8f889c1d2de7523ab3c6861445b8c721aac9b
/usr/lib/.build-id/83
/usr/lib/.build-id/83/c5e5fba5d5dfc3b3682357f3c466ed55f1fb88
/usr/lib/librdmacm.so.1
/usr/lib/librdmacm.so.1.3.32.0
/usr/lib/rsocket
/usr/lib/rsocket/librspreload.so
/usr/lib/rsocket/librspreload.so.1
/usr/lib/rsocket/librspreload.so.1.0.0
/usr/share/doc/rdma-core/librdmacm.md
/usr/share/man/man7/rsocket.7.gz
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/e5f720b594ee5d845f6e278d989ae4447fc789
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/83a4ca18f3b5cb8ee55994eccbbe2b5c788560
/usr/lib64/librdmacm.so.1
/usr/lib64/librdmacm.so.1.3.32.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 on Rocky Linux 8 using yum and dnf.