How To Install fence-agents-common.x86_64 on Amazon Linux 2

In this tutorial we learn how to install fence-agents-common.x86_64 in Amazon Linux 2. fence-agents-common.x86_64 is Common utilities for fence agents

Introduction

In this tutorial we learn how to install fence-agents-common.x86_64 on Amazon Linux 2.

What is fence-agents-common.x86_64

Red Hat Fence Agents is a collection of scripts and libraries to handle remote power management for various devices.

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

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

sudo yum -y install fence-agents-common.x86_64

How To Uninstall fence-agents-common.x86_64 on Amazon Linux 2

To uninstall only the fence-agents-common.x86_64 package we can use the following command:

sudo yum remove fence-agents-common.x86_64

fence-agents-common.x86_64 Package Contents on Amazon Linux 2

/usr/share/cluster
/usr/share/cluster/relaxng
/usr/share/cluster/relaxng/fence.rng.head
/usr/share/cluster/relaxng/fence.rng.tail
/usr/share/cluster/relaxng/fence2man.xsl
/usr/share/cluster/relaxng/fence2rng.xsl
/usr/share/cluster/relaxng/fence2wiki.xsl
/usr/share/cluster/relaxng/metadata.rng
/usr/share/doc/fence-agents-common-4.2.1
/usr/share/doc/fence-agents-common-4.2.1/COPYING.applications
/usr/share/doc/fence-agents-common-4.2.1/COPYING.libraries
/usr/share/doc/fence-agents-common-4.2.1/COPYRIGHT
/usr/share/doc/fence-agents-common-4.2.1/README.licence
/usr/share/fence
/usr/share/fence/azure_fence.py
/usr/share/fence/azure_fence.pyc
/usr/share/fence/azure_fence.pyo
/usr/share/fence/fencing.py
/usr/share/fence/fencing.pyc
/usr/share/fence/fencing.pyo
/usr/share/fence/fencing_snmp.py
/usr/share/fence/fencing_snmp.pyc
/usr/share/fence/fencing_snmp.pyo

References

Summary

In this tutorial we learn how to install fence-agents-common.x86_64 on Amazon Linux 2 using yum.