How To Install libpmemlog.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libpmemlog.x86_64 in Amazon Linux 2. libpmemlog.x86_64 is Persistent Memory Resident Log File library

Introduction

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

What is libpmemlog.x86_64

The libpmemlog library provides a pmem-resident log file. This is useful for programs like databases that append frequently to a log file.

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

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

sudo yum -y install libpmemlog.x86_64

How To Uninstall libpmemlog.x86_64 on Amazon Linux 2

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

sudo yum remove libpmemlog.x86_64

libpmemlog.x86_64 Package Contents on Amazon Linux 2

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

References

Summary

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