How To Install libpmempool-debug.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libpmempool-debug.x86_64 on Amazon Linux 2.
What is libpmempool-debug.x86_64
The libpmempool library provides a set of utilities for off-line administration, analysis, diagnostics and repair of persistent memory pools created by libpmemlog, libpemblk and libpmemobj libraries. 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 libpmempool-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 libpmempool-debug.x86_64.
Install libpmempool-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 libpmempool-debug.x86_64 using yum by running the following command:
sudo yum -y install libpmempool-debug.x86_64
How To Uninstall libpmempool-debug.x86_64 on Amazon Linux 2
To uninstall only the libpmempool-debug.x86_64 package we can use the following command:
sudo yum remove libpmempool-debug.x86_64
libpmempool-debug.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/nvml_debug
/usr/lib64/nvml_debug/libpmempool.so
/usr/lib64/nvml_debug/libpmempool.so.1
/usr/lib64/nvml_debug/libpmempool.so.1.0.0
/usr/share/doc/libpmempool-debug-1.3
/usr/share/doc/libpmempool-debug-1.3/CONTRIBUTING.md
/usr/share/doc/libpmempool-debug-1.3/ChangeLog
/usr/share/doc/libpmempool-debug-1.3/README.md
/usr/share/licenses/libpmempool-debug-1.3
/usr/share/licenses/libpmempool-debug-1.3/LICENSE
References
Summary
In this tutorial we learn how to install libpmempool-debug.x86_64 on Amazon Linux 2 using yum.