How To Install libsecret-1-0 on Ubuntu 20.04

In this tutorial we learn how to install libsecret-1-0 on Ubuntu 20.04. libsecret-1-0 is Secret store Secret store Secret store

Introduction

In this tutorial we learn how to install libsecret-1-0 on Ubuntu 20.04.

What is libsecret-1-0

libsecret-1-0 is:

Library for storing and retrieving passwords and other secrets. It communicates with the “Secret Service” using DBus. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, kubuntu-full, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libsecret-1-0 Status: install ok installed Priority: optional Section: libs Installed-Size: 413 Maintainer: Ubuntu Developers [email protected] Architecture: amd64 Multi-Arch: same Source: libsecret Version: 0.20.3-0ubuntu1 Depends: libc6 (>= 2.14), libgcrypt20 (>= 1.8.0), libglib2.0-0 (>= 2.44.0), libsecret-common Breaks: seahorse (« 3.10) Description-en: Secret store Library for storing and retrieving passwords and other secrets. It communicates with the “Secret Service” using DBus. Original-Maintainer: Debian GNOME Maintainers [email protected] Homepage: https://wiki.gnome.org/Projects/Libsecret

Package: libsecret-1-0 Architecture: amd64 Version: 0.20.2-1 Multi-Arch: same Priority: optional Section: libs Source: libsecret Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 413 Depends: libc6 (>= 2.14), libgcrypt20 (>= 1.8.0), libglib2.0-0 (>= 2.44.0), libsecret-common Breaks: seahorse (« 3.10) Filename: pool/main/libs/libsecret/libsecret-1-0_0.20.2-1_amd64.deb Size: 109064 MD5sum: 0763bb007d8760ad1bbc2ea4cb42782c SHA1: cdc2f4c689e96631c6c33d157196662033c53503 SHA256: f44754c325d77d6e21e364818b90e711ff008ce67b08b3501e1e29c7a6a1384f Homepage: https://wiki.gnome.org/Projects/Libsecret Description-en: Secret store Library for storing and retrieving passwords and other secrets. It communicates with the “Secret Service” using DBus. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, kubuntu-full, 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 libsecret-1-0 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 libsecret-1-0 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libsecret-1-0 using apt-get by running the following command:

sudo apt-get -y install libsecret-1-0

Install libsecret-1-0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsecret-1-0 using apt by running the following command:

sudo apt -y install libsecret-1-0

Install libsecret-1-0 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 libsecret-1-0 using aptitude by running the following command:

sudo aptitude -y install libsecret-1-0

How To Uninstall libsecret-1-0 on Ubuntu 20.04

To uninstall only the libsecret-1-0 package we can use the following command:

sudo apt-get remove libsecret-1-0

Uninstall libsecret-1-0 And Its Dependencies

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

sudo apt-get -y autoremove libsecret-1-0

Remove libsecret-1-0 Configurations and Data

To remove libsecret-1-0 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libsecret-1-0

Remove libsecret-1-0 configuration, data, and all of its dependencies

We can use the following command to remove libsecret-1-0 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsecret-1-0

References

Summary

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