How To Install libmunge-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libmunge-dev
on Ubuntu 20.04.
What is libmunge-dev
libmunge-dev is:
MUNGE (MUNGE Uid ‘N’ Gid Emporium) is an authentication service for creating and validating credentials. 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.
This package contains the development files for compiling applications using MUNGE.
There are three methods to install libmunge-dev
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libmunge-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libmunge-dev
using apt-get
by running the following command:
sudo apt-get -y install libmunge-dev
Install libmunge-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmunge-dev
using apt
by running the following command:
sudo apt -y install libmunge-dev
Install libmunge-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libmunge-dev
using aptitude
by running the following command:
sudo aptitude -y install libmunge-dev
How To Uninstall libmunge-dev on Ubuntu 20.04
To uninstall only the libmunge-dev
package we can use the following command:
sudo apt-get remove libmunge-dev
Uninstall libmunge-dev And Its Dependencies
To uninstall libmunge-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libmunge-dev
Remove libmunge-dev Configurations and Data
To remove libmunge-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libmunge-dev
Remove libmunge-dev configuration, data, and all of its dependencies
We can use the following command to remove libmunge-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmunge-dev
References
Summary
In this tutorial we learn how to install libmunge-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.