How To Install libpmemobj-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libpmemobj-devel.x86_64 in Amazon Linux 2. libpmemobj-devel.x86_64 is Development files for the Persistent Memory Transactional Object

Introduction

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

What is libpmemobj-devel.x86_64

The libpmemobj library provides a transactional object store, providing memory allocation, transactions, and general facilities for persistent memory programming. Developers new to persistent memory probably want to start with this library.

We can use yum to install libpmemobj-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 libpmemobj-devel.x86_64.

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

sudo yum -y install libpmemobj-devel.x86_64

How To Uninstall libpmemobj-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libpmemobj-devel.x86_64

libpmemobj-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libpmemobj.h
/usr/include/libpmemobj/atomic.h
/usr/include/libpmemobj/atomic_base.h
/usr/include/libpmemobj/base.h
/usr/include/libpmemobj/ctl.h
/usr/include/libpmemobj/iterator.h
/usr/include/libpmemobj/iterator_base.h
/usr/include/libpmemobj/lists_atomic.h
/usr/include/libpmemobj/lists_atomic_base.h
/usr/include/libpmemobj/pool.h
/usr/include/libpmemobj/pool_base.h
/usr/include/libpmemobj/thread.h
/usr/include/libpmemobj/tx.h
/usr/include/libpmemobj/tx_base.h
/usr/include/libpmemobj/types.h
/usr/lib64/libpmemobj.so
/usr/lib64/pkgconfig/libpmemobj.pc
/usr/share/doc/libpmemobj-devel-1.3
/usr/share/doc/libpmemobj-devel-1.3/CONTRIBUTING.md
/usr/share/doc/libpmemobj-devel-1.3/ChangeLog
/usr/share/doc/libpmemobj-devel-1.3/README.md
/usr/share/licenses/libpmemobj-devel-1.3
/usr/share/licenses/libpmemobj-devel-1.3/LICENSE
/usr/share/man/man3/libpmemobj.3.gz

References

Summary

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