How To Install libpam0g on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libpam0g
on Ubuntu 20.04.
What is libpam0g
libpam0g is:
Contains the shared library for Linux-PAM, a library that enables the local system administrator to choose how applications authenticate users. In other words, without rewriting or recompiling a PAM-aware application, it is possible to switch between the authentication mechanism(s) it uses. One may entirely upgrade the local authentication system without touching the applications themselves. Task: minimal
Package: libpam0g Status: install ok installed Priority: required Section: libs Installed-Size: 231 Maintainer: Ubuntu Developers [email protected] Architecture: amd64 Multi-Arch: same Source: pam Version: 1.3.1-5ubuntu4.1 Replaces: libpam0g-util Depends: libaudit1 (>= 1:2.2.1), libc6 (>= 2.14), debconf (>= 0.5) | debconf-2.0 Suggests: libpam-doc Description-en: Pluggable Authentication Modules library Contains the shared library for Linux-PAM, a library that enables the local system administrator to choose how applications authenticate users. In other words, without rewriting or recompiling a PAM-aware application, it is possible to switch between the authentication mechanism(s) it uses. One may entirely upgrade the local authentication system without touching the applications themselves. Homepage: http://www.linux-pam.org/ Original-Maintainer: Steve Langasek [email protected]
Package: libpam0g Architecture: amd64 Version: 1.3.1-5ubuntu4 Multi-Arch: same Priority: required Section: libs Source: pam Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Steve Langasek [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 231 Depends: libaudit1 (>= 1:2.2.1), libc6 (>= 2.14), debconf (>= 0.5) | debconf-2.0 Suggests: libpam-doc Replaces: libpam0g-util Filename: pool/main/p/pam/libpam0g_1.3.1-5ubuntu4_amd64.deb Size: 55444 MD5sum: a6fe0f75965b74130826f25158ce055a SHA1: 92fb3c17c1ef9ef50c4cff08204801329b969fbb SHA256: 68eee51c674fdd7befdb9a2d76b59816384dbeb3a3e68787933a652d4058ba3d Homepage: http://www.linux-pam.org/ Description-en: Pluggable Authentication Modules library Contains the shared library for Linux-PAM, a library that enables the local system administrator to choose how applications authenticate users. In other words, without rewriting or recompiling a PAM-aware application, it is possible to switch between the authentication mechanism(s) it uses. One may entirely upgrade the local authentication system without touching the applications themselves. Task: minimal
There are three methods to install libpam0g
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 libpam0g Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libpam0g
using apt-get
by running the following command:
sudo apt-get -y install libpam0g
Install libpam0g Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpam0g
using apt
by running the following command:
sudo apt -y install libpam0g
Install libpam0g 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 libpam0g
using aptitude
by running the following command:
sudo aptitude -y install libpam0g
How To Uninstall libpam0g on Ubuntu 20.04
To uninstall only the libpam0g
package we can use the following command:
sudo apt-get remove libpam0g
Uninstall libpam0g And Its Dependencies
To uninstall libpam0g
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libpam0g
Remove libpam0g Configurations and Data
To remove libpam0g
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libpam0g
Remove libpam0g configuration, data, and all of its dependencies
We can use the following command to remove libpam0g
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpam0g
References
Summary
In this tutorial we learn how to install libpam0g
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.