How To Install munge on CentOS 8
Introduction
In this tutorial we learn how to install munge
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install munge.
Install munge on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the munge
package we can use the following command:
sudo dnf remove munge
munge Package Contents on CentOS 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/3f
/usr/lib/.build-id/3f/df110dd915da92ff72fd8df0b107dde4b1138a
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/1be65e89445309c6d90f55e789bd1873c13eae
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/ce49332a10cd85eba877a6cdd2f1ea7223e422
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/4d4d89922537134149896e4985a4c50a7ba9ec
/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 CentOS 8 using yum and dnf.