How To Install libvmmalloc.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libvmmalloc.x86_64 on Amazon Linux 2.
What is libvmmalloc.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. The typical usage of libvmmalloc is to load it via the LD_PRELOAD environment variable.
We can use yum to install libvmmalloc.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.x86_64.
Install libvmmalloc.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.x86_64 using yum by running the following command:
sudo yum -y install libvmmalloc.x86_64
How To Uninstall libvmmalloc.x86_64 on Amazon Linux 2
To uninstall only the libvmmalloc.x86_64 package we can use the following command:
sudo yum remove libvmmalloc.x86_64
libvmmalloc.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libvmmalloc.so.1
/usr/lib64/libvmmalloc.so.1.0.0
/usr/share/doc/libvmmalloc-1.3
/usr/share/doc/libvmmalloc-1.3/CONTRIBUTING.md
/usr/share/doc/libvmmalloc-1.3/ChangeLog
/usr/share/doc/libvmmalloc-1.3/README.md
/usr/share/licenses/libvmmalloc-1.3
/usr/share/licenses/libvmmalloc-1.3/LICENSE
References
Summary
In this tutorial we learn how to install libvmmalloc.x86_64 on Amazon Linux 2 using yum.