How To Install libpmemobj.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libpmemobj.x86_64 in Amazon Linux 2. libpmemobj.x86_64 is Persistent Memory Transactional Object Store library

Introduction

In this tutorial we learn how to install libpmemobj.x86_64 on Amazon Linux 2.

What is libpmemobj.x86_64

The libpmemobj library provides a transactional object store, providing memory allocation, transactions, and general facilities for persistent memory programming.

We can use yum to install libpmemobj.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libpmemobj.x86_64.

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

sudo yum -y install libpmemobj.x86_64

How To Uninstall libpmemobj.x86_64 on Amazon Linux 2

To uninstall only the libpmemobj.x86_64 package we can use the following command:

sudo yum remove libpmemobj.x86_64

libpmemobj.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libpmemobj.so.1
/usr/lib64/libpmemobj.so.1.0.0
/usr/share/doc/libpmemobj-1.3
/usr/share/doc/libpmemobj-1.3/CONTRIBUTING.md
/usr/share/doc/libpmemobj-1.3/ChangeLog
/usr/share/doc/libpmemobj-1.3/README.md
/usr/share/licenses/libpmemobj-1.3
/usr/share/licenses/libpmemobj-1.3/LICENSE

References

Summary

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