How To Install libvmem-debug on Rocky Linux 8
Introduction
In this tutorial we learn how to install libvmem-debug
on Rocky Linux 8.
What is libvmem-debug
The libvmem library turns a pool of persistent memory into a volatile memory pool, similar to the system heap but kept separate and with its own malloc-style API. 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/pmdk_debug.
We can use yum
or dnf
to install libvmem-debug
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libvmem-debug.
Install libvmem-debug 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 libvmem-debug
using dnf
by running the following command:
sudo dnf -y install libvmem-debug
Install libvmem-debug 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 libvmem-debug
using yum
by running the following command:
sudo yum -y install libvmem-debug
How To Uninstall libvmem-debug on Rocky Linux 8
To uninstall only the libvmem-debug
package we can use the following command:
sudo dnf remove libvmem-debug
libvmem-debug Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/d2ed9ce01f8a5e0cfa7b1f95e265c5bc7a21b7
/usr/lib64/pmdk_debug
/usr/lib64/pmdk_debug/libvmem.so
/usr/lib64/pmdk_debug/libvmem.so.1
/usr/lib64/pmdk_debug/libvmem.so.1.0.0
/usr/share/doc/libvmem-debug
/usr/share/doc/libvmem-debug/CONTRIBUTING.md
/usr/share/doc/libvmem-debug/ChangeLog
/usr/share/doc/libvmem-debug/README.md
/usr/share/licenses/libvmem-debug
/usr/share/licenses/libvmem-debug/LICENSE
References
Summary
In this tutorial we learn how to install libvmem-debug
on Rocky Linux 8 using yum and dnf.