How To Install librpmem-debug.x86_64 on Amazon Linux 2

In this tutorial we learn how to install librpmem-debug.x86_64 in Amazon Linux 2. librpmem-debug.x86_64 is Debug variant of the Remote Access to Persistent Memory library

Introduction

In this tutorial we learn how to install librpmem-debug.x86_64 on Amazon Linux 2.

What is librpmem-debug.x86_64

The librpmem library provides low-level support for remote access to persistent memory utilizing RDMA-capable NICs. It can be used to replicate peristent memory regions over RDMA protocol. This sub-package contains debug variant of the library, providing run-time assertions and trace points. The typical way to access the debug version is to set the environment variable LD_LIBRARY_PATH to /usr/lib64/nvml_debug.

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

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

sudo yum -y install librpmem-debug.x86_64

How To Uninstall librpmem-debug.x86_64 on Amazon Linux 2

To uninstall only the librpmem-debug.x86_64 package we can use the following command:

sudo yum remove librpmem-debug.x86_64

librpmem-debug.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/nvml_debug
/usr/lib64/nvml_debug/librpmem.so
/usr/lib64/nvml_debug/librpmem.so.1
/usr/lib64/nvml_debug/librpmem.so.1.0.0
/usr/share/doc/librpmem-debug-1.3
/usr/share/doc/librpmem-debug-1.3/CONTRIBUTING.md
/usr/share/doc/librpmem-debug-1.3/ChangeLog
/usr/share/doc/librpmem-debug-1.3/README.md
/usr/share/licenses/librpmem-debug-1.3
/usr/share/licenses/librpmem-debug-1.3/LICENSE

References

Summary

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