How To Install libpam-runtime on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libpam-runtime
on Ubuntu 20.04.
What is libpam-runtime
libpam-runtime is:
Contains configuration files and directories required for authentication to work on Debian systems. This package is required on almost all installations. Task: minimal
Package: libpam-runtime Status: install ok installed Priority: required Section: admin Installed-Size: 304 Maintainer: Ubuntu Developers [email protected] Architecture: all Multi-Arch: foreign Source: pam Version: 1.3.1-5ubuntu4.1 Replaces: libpam0g-dev, libpam0g-util Depends: debconf (>= 0.5) | debconf-2.0, debconf (>= 1.5.19) | cdebconf, libpam-modules (>= 1.0.1-6) Conflicts: libpam0g-util Conffiles: /etc/pam.conf 87fc76f18e98ee7d3848f6b81b3391e5 /etc/pam.d/other 31aa7f2181889ffb00b87df4126d1701 Description-en: Runtime support for the PAM library Contains configuration files and directories required for authentication to work on Debian systems. This package is required on almost all installations. Homepage: http://www.linux-pam.org/ Original-Maintainer: Steve Langasek [email protected]
Package: libpam-runtime Architecture: all Version: 1.3.1-5ubuntu4 Multi-Arch: foreign Priority: required Section: admin Source: pam Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Steve Langasek [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 304 Depends: debconf (>= 0.5) | debconf-2.0, debconf (>= 1.5.19) | cdebconf, libpam-modules (>= 1.0.1-6) Conflicts: libpam0g-util Replaces: libpam0g-dev, libpam0g-util Filename: pool/main/p/pam/libpam-runtime_1.3.1-5ubuntu4_all.deb Size: 37268 MD5sum: 03d37f5f5b6d729eac1248de3e9109ef SHA1: c191464cb9f3ee73bac8f11fd93ba4a45bfcf105 SHA256: 050de6a7503f260736fd511d4f609acc20e87e0309200b0950c505059dc5c01f Homepage: http://www.linux-pam.org/ Description-en: Runtime support for the PAM library Contains configuration files and directories required for authentication to work on Debian systems. This package is required on almost all installations. Task: minimal
There are three methods to install libpam-runtime
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 libpam-runtime Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libpam-runtime
using apt-get
by running the following command:
sudo apt-get -y install libpam-runtime
Install libpam-runtime Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpam-runtime
using apt
by running the following command:
sudo apt -y install libpam-runtime
Install libpam-runtime 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 libpam-runtime
using aptitude
by running the following command:
sudo aptitude -y install libpam-runtime
How To Uninstall libpam-runtime on Ubuntu 20.04
To uninstall only the libpam-runtime
package we can use the following command:
sudo apt-get remove libpam-runtime
Uninstall libpam-runtime And Its Dependencies
To uninstall libpam-runtime
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libpam-runtime
Remove libpam-runtime Configurations and Data
To remove libpam-runtime
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libpam-runtime
Remove libpam-runtime configuration, data, and all of its dependencies
We can use the following command to remove libpam-runtime
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpam-runtime
References
Summary
In this tutorial we learn how to install libpam-runtime
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.