How To Install libpam-gnome-keyring on Debian 10

Learn how to install libpam-gnome-keyring on Debian 10 with this tutorial. libpam-gnome-keyring is PAM module to unlock the GNOME keyring upon login

Introduction

In this tutorial we learn how to install libpam-gnome-keyring on Debian 10.

What is libpam-gnome-keyring

libpam-gnome-keyring is:

gnome-keyring is a daemon in the session, similar to ssh-agent, and other applications can use it to store passwords and other sensitive information.

This package contains a PAM module that will automatically unlock the keyrings using your login password, making gnome-keyring usage transparent without losing its security benefits.

When installed, this module will automatically be used by GDM and gnome-screensaver to unlock your keyrings when logging in and when unlocking the screen saver.

There are three methods to install libpam-gnome-keyring on Debian 10. 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-gnome-keyring 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-gnome-keyring using apt-get by running the following command:

sudo apt-get -y install libpam-gnome-keyring

Install libpam-gnome-keyring Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libpam-gnome-keyring using apt by running the following command:

sudo apt -y install libpam-gnome-keyring

Install libpam-gnome-keyring 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libpam-gnome-keyring using aptitude by running the following command:

sudo aptitude -y install libpam-gnome-keyring

How To Uninstall libpam-gnome-keyring on Debian 10

To uninstall only the libpam-gnome-keyring package we can use the following command:

sudo apt-get remove libpam-gnome-keyring

Uninstall libpam-gnome-keyring And Its Dependencies

To uninstall libpam-gnome-keyring and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libpam-gnome-keyring

Remove libpam-gnome-keyring Configurations and Data

To remove libpam-gnome-keyring configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libpam-gnome-keyring

Remove libpam-gnome-keyring configuration, data, and all of its dependencies

We can use the following command to remove libpam-gnome-keyring configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libpam-gnome-keyring

Dependencies

libpam-gnome-keyring have the following dependencies:

References

Summary

In this tutorial we learn how to install libpam-gnome-keyring package on Debian 10 using different package management tools: apt, apt-get and aptitude.