How To Install libpmemblk-devel.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libpmemblk-devel.x86_64 on Amazon Linux 2.
What is libpmemblk-devel.x86_64
The libpmemblk implements a pmem-resident array of blocks, all the same size, where a block is updated atomically with respect to power failure or program interruption (no torn blocks). For example, a program keeping a cache of fixed-size objects in pmem might find this library useful. This library is provided for cases requiring large arrays of objects at least 512 bytes each. Most developers will find higher level libraries like libpmemobj to be more generally useful.
We can use yum to install libpmemblk-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 libpmemblk-devel.x86_64.
Install libpmemblk-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 libpmemblk-devel.x86_64 using yum by running the following command:
sudo yum -y install libpmemblk-devel.x86_64
How To Uninstall libpmemblk-devel.x86_64 on Amazon Linux 2
To uninstall only the libpmemblk-devel.x86_64 package we can use the following command:
sudo yum remove libpmemblk-devel.x86_64
libpmemblk-devel.x86_64 Package Contents on Amazon Linux 2
/usr/include/libpmemblk.h
/usr/lib64/libpmemblk.so
/usr/lib64/pkgconfig/libpmemblk.pc
/usr/share/doc/libpmemblk-devel-1.3
/usr/share/doc/libpmemblk-devel-1.3/CONTRIBUTING.md
/usr/share/doc/libpmemblk-devel-1.3/ChangeLog
/usr/share/doc/libpmemblk-devel-1.3/README.md
/usr/share/licenses/libpmemblk-devel-1.3
/usr/share/licenses/libpmemblk-devel-1.3/LICENSE
/usr/share/man/man3/libpmemblk.3.gz
References
Summary
In this tutorial we learn how to install libpmemblk-devel.x86_64 on Amazon Linux 2 using yum.