How To Install gnome-keyring on Ubuntu 20.04

In this tutorial we learn how to install gnome-keyring on Ubuntu 20.04. gnome-keyring is GNOME keyring services (daemon and tools)

Introduction

In this tutorial we learn how to install gnome-keyring on Ubuntu 20.04.

What is gnome-keyring

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.

The program can manage several keyrings, each with its own master password, and there is also a session keyring which is never stored to disk, but forgotten when the session ends. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

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

sudo apt-get -y install gnome-keyring

Install gnome-keyring Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnome-keyring

Install 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install gnome-keyring

How To Uninstall gnome-keyring on Ubuntu 20.04

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

sudo apt-get remove gnome-keyring

Uninstall gnome-keyring And Its Dependencies

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

sudo apt-get -y autoremove gnome-keyring

Remove gnome-keyring Configurations and Data

To remove gnome-keyring configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge gnome-keyring

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

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

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

References

Summary

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