How To Install corosync-qdevice.x86_64 on Amazon Linux 2

In this tutorial we learn how to install corosync-qdevice.x86_64 in Amazon Linux 2. corosync-qdevice.x86_64 is The Corosync Cluster Engine Qdevice

Introduction

In this tutorial we learn how to install corosync-qdevice.x86_64 on Amazon Linux 2.

What is corosync-qdevice.x86_64

This package contains the Corosync Cluster Engine Qdevice, script for creating NSS certificates and an init script.

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

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

sudo yum -y install corosync-qdevice.x86_64

How To Uninstall corosync-qdevice.x86_64 on Amazon Linux 2

To uninstall only the corosync-qdevice.x86_64 package we can use the following command:

sudo yum remove corosync-qdevice.x86_64

corosync-qdevice.x86_64 Package Contents on Amazon Linux 2

/etc/corosync/qdevice
/etc/corosync/qdevice/net
/etc/sysconfig/corosync-qdevice
/usr/lib/systemd/system/corosync-qdevice.service
/usr/sbin/corosync-qdevice
/usr/sbin/corosync-qdevice-net-certutil
/usr/sbin/corosync-qdevice-tool
/usr/share/corosync
/usr/share/corosync/corosync-qdevice
/usr/share/man/man8/corosync-qdevice-net-certutil.8.gz
/usr/share/man/man8/corosync-qdevice-tool.8.gz
/usr/share/man/man8/corosync-qdevice.8.gz
/var/run/corosync-qdevice

References

Summary

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