How To Install munge on Rocky Linux 8

In this tutorial we learn how to install munge on Rocky Linux 8. munge is Enables uid & gid authentication across a host cluster

Introduction

In this tutorial we learn how to install munge on Rocky Linux 8.

What is munge

MUNGE (MUNGE Uid ‘N’ Gid Emporium) is an authentication service for creating and validating credentials. It is designed to be highly scalable for use in an HPC cluster environment. It allows a process to authenticate the UID and GID of another local or remote process within a group of hosts having common users and groups. These hosts form a security realm that is defined by a shared cryptographic key. Clients within this security realm can create and validate credentials without the use of root privileges, reserved ports, or platform-specific methods.

We can use yum or dnf to install munge on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install munge.

Install munge on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install munge using dnf by running the following command:

sudo dnf -y install munge

Install munge on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install munge using yum by running the following command:

sudo yum -y install munge

How To Uninstall munge on Rocky Linux 8

To uninstall only the munge package we can use the following command:

sudo dnf remove munge

munge Package Contents on Rocky Linux 8

/etc/logrotate.d/munge
/etc/munge
/run/munge
/run/munge/munged.pid
/usr/bin/munge
/usr/bin/remunge
/usr/bin/unmunge
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/d08adf125923eb04ea8e85a91473c1c510405a
/usr/lib/.build-id/87
/usr/lib/.build-id/87/fabc7def792f33deba4c7845432379a6a4e9dc
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/2cd8da176238e47c7d84efd0bdcb73cca526d3
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/35ecd06986a9061a2b35e551ae42a652118507
/usr/lib/systemd/system/munge.service
/usr/lib/tmpfiles.d/munge.conf
/usr/sbin/create-munge-key
/usr/sbin/munged
/usr/share/doc/munge
/usr/share/doc/munge/AUTHORS
/usr/share/doc/munge/JARGON
/usr/share/doc/munge/META
/usr/share/doc/munge/NEWS
/usr/share/doc/munge/QUICKSTART
/usr/share/doc/munge/README
/usr/share/doc/munge/doc
/usr/share/doc/munge/doc/credential_v1_format.txt
/usr/share/doc/munge/doc/credential_v2_format.txt
/usr/share/doc/munge/doc/credential_v3_format.txt
/usr/share/licenses/munge
/usr/share/licenses/munge/COPYING
/usr/share/licenses/munge/COPYING.LESSER
/usr/share/man/man1/munge.1.gz
/usr/share/man/man1/remunge.1.gz
/usr/share/man/man1/unmunge.1.gz
/usr/share/man/man7/munge.7.gz
/usr/share/man/man8/munged.8.gz
/var/lib/munge
/var/log/munge

References

Summary

In this tutorial we learn how to install munge on Rocky Linux 8 using yum and dnf.