How To Install pacemaker-libs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pacemaker-libs.x86_64 in Amazon Linux 2. pacemaker-libs.x86_64 is Core Pacemaker libraries

Introduction

In this tutorial we learn how to install pacemaker-libs.x86_64 on Amazon Linux 2.

What is pacemaker-libs.x86_64

Pacemaker is an advanced, scalable High-Availability cluster resource manager for Corosync, CMAN and/or Linux-HA. The pacemaker-libs package contains shared libraries needed for cluster nodes and those just running the CLI tools.

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

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

sudo yum -y install pacemaker-libs.x86_64

How To Uninstall pacemaker-libs.x86_64 on Amazon Linux 2

To uninstall only the pacemaker-libs.x86_64 package we can use the following command:

sudo yum remove pacemaker-libs.x86_64

pacemaker-libs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libcib.so.4
/usr/lib64/libcib.so.4.1.6
/usr/lib64/libcrmcommon.so.3
/usr/lib64/libcrmcommon.so.3.13.0
/usr/lib64/libcrmservice.so.3
/usr/lib64/libcrmservice.so.3.5.1
/usr/lib64/liblrmd.so.1
/usr/lib64/liblrmd.so.1.6.0
/usr/lib64/libpe_rules.so.2
/usr/lib64/libpe_rules.so.2.3.4
/usr/lib64/libpe_status.so.16
/usr/lib64/libpe_status.so.16.1.0
/usr/lib64/libpengine.so.16
/usr/lib64/libpengine.so.16.1.0
/usr/lib64/libstonithd.so.2
/usr/lib64/libstonithd.so.2.6.0
/usr/lib64/libtransitioner.so.2
/usr/lib64/libtransitioner.so.2.1.1
/usr/share/doc/pacemaker-libs-1.1.23
/usr/share/doc/pacemaker-libs-1.1.23/COPYING
/usr/share/doc/pacemaker-libs-1.1.23/ChangeLog
/usr/share/licenses/pacemaker-libs-1.1.23
/usr/share/licenses/pacemaker-libs-1.1.23/LGPLv2.1

References

Summary

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