How To Install libvmmalloc-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libvmmalloc-devel.x86_64 in Amazon Linux 2. libvmmalloc-devel.x86_64 is Development files for the Dynamic-to-Persistent allocation library

Introduction

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

What is libvmmalloc-devel.x86_64

The libvmmalloc library transparently converts all the dynamic memory allocations into persistent memory allocations. This allows the use of persistent memory as volatile memory without modifying the target application. This sub-package contains libraries and header files for developing applications that want to specifically make use of libvmmalloc.

We can use yum to install libvmmalloc-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 libvmmalloc-devel.x86_64.

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

sudo yum -y install libvmmalloc-devel.x86_64

How To Uninstall libvmmalloc-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libvmmalloc-devel.x86_64

libvmmalloc-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libvmmalloc.h
/usr/lib64/libvmmalloc.so
/usr/lib64/pkgconfig/libvmmalloc.pc
/usr/share/doc/libvmmalloc-devel-1.3
/usr/share/doc/libvmmalloc-devel-1.3/CONTRIBUTING.md
/usr/share/doc/libvmmalloc-devel-1.3/ChangeLog
/usr/share/doc/libvmmalloc-devel-1.3/README.md
/usr/share/licenses/libvmmalloc-devel-1.3
/usr/share/licenses/libvmmalloc-devel-1.3/LICENSE
/usr/share/man/man3/libvmmalloc.3.gz

References

Summary

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