How To Install munge on Fedora 36

In this tutorial we learn how to install munge in Fedora 36. munge is Enables uid & gid authentication across a host cluster

Introduction

In this tutorial we learn how to install munge on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install munge.

Install munge on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove munge

munge Package Contents on Fedora 36

/etc/logrotate.d/munge
/etc/munge
/etc/sysconfig/munge
/run/munge
/run/munge/munged.pid
/usr/bin/munge
/usr/bin/remunge
/usr/bin/unmunge
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/5f88cf84bd20787d1c48441d1b04c068c3a00b
/usr/lib/.build-id/48
/usr/lib/.build-id/48/63d448963888a48797238663d3c09dd3ddcfdb
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/fd28adb5aa12c398a72103daea512e37c883be
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/e8aaa2b1951894787f7fdce8e8c4722858616f
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/a7ebd8e13113cc355f1b9af81585ef299d3432
/usr/lib/systemd/system/munge.service
/usr/lib/sysusers.d/munge.conf
/usr/sbin/munged
/usr/sbin/mungekey
/usr/share/doc/munge
/usr/share/doc/munge/AUTHORS
/usr/share/doc/munge/JARGON
/usr/share/doc/munge/NEWS
/usr/share/doc/munge/QUICKSTART
/usr/share/doc/munge/README
/usr/share/doc/munge/README-Fedora.md
/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
/usr/share/man/man8/mungekey.8.gz
/var/lib/munge
/var/log/munge

References

Summary

In this tutorial we learn how to install munge on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).