How To Install munge on Fedora 34
Introduction
In this tutorial we learn how to install munge
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install munge.
Install munge on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install munge
using dnf
by running the following command:
sudo dnf -y install munge
Install munge on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the munge
package we can use the following command:
sudo dnf remove munge
munge Package Contents on Fedora 34
/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/41
/usr/lib/.build-id/41/904bd943991e614e4bdeceafb7003b99692ee9
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/a0dbc87cf93d950bed83e5a93dbac8f9d002f3
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/f0193c544c648cd593cbe380a9c62b7f0b3bba
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/ae9d0ba5f45c8527f9d502fc679c922be7e51b
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/0275a0d5d8cf05f4a0b428a226394954a98167
/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
/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/00
/usr/lib/.build-id/00/d9189be1f0059747bbd14ad7b63f45f4184986
/usr/lib/.build-id/10
/usr/lib/.build-id/10/7cd497b906a8d7499ed2d971f38e3d53240c3c
/usr/lib/.build-id/36
/usr/lib/.build-id/36/08e57b5e1a48e717e1055efd22eec4e3c5f86c
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/4ac6b961d13e39dbb0a35413ca73c8a79bedf8
/usr/lib/systemd/system/munge.service
/usr/lib/sysusers.d/munge.conf
/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 Fedora 34 using yum and dnf.