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

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

Introduction

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

What is corosync-qnetd.x86_64

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

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

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

sudo yum -y install corosync-qnetd.x86_64

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

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

sudo yum remove corosync-qnetd.x86_64

corosync-qnetd.x86_64 Package Contents on Amazon Linux 2

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

References

Summary

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