How To Install libsecret-1-dev on Ubuntu 20.04

In this tutorial we learn how to install libsecret-1-dev on Ubuntu 20.04. libsecret-1-dev is Secret store (development files) Secret store (development files)

Introduction

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

What is libsecret-1-dev

libsecret-1-dev is:

Library for storing and retrieving passwords and other secrets. It communicates with the “Secret Service” using DBus.

This package contains the development files.

Package: libsecret-1-dev Architecture: amd64 Version: 0.20.2-1 Multi-Arch: same Priority: optional Section: libdevel 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: 2536 Depends: libsecret-1-0 (= 0.20.2-1), gir1.2-secret-1 (= 0.20.2-1), libglib2.0-dev (>= 2.44.0) Filename: pool/main/libs/libsecret/libsecret-1-dev_0.20.2-1_amd64.deb Size: 206152 MD5sum: d343e3a9b3e1a409b6d6e5b271543ede SHA1: 67f0118fac452145baf8929cffa820a7dfaaf647 SHA256: 5b30b686fed7cfd58d8db2a0c51c20edac84d0e453d68c2f8431a27ed1467b4f Homepage: https://wiki.gnome.org/Projects/Libsecret Description-en: Secret store (development files) Library for storing and retrieving passwords and other secrets. It communicates with the “Secret Service” using DBus.

This package contains the development files.

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

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

Install libsecret-1-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsecret-1-dev

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

sudo aptitude -y install libsecret-1-dev

How To Uninstall libsecret-1-dev on Ubuntu 20.04

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

sudo apt-get remove libsecret-1-dev

Uninstall libsecret-1-dev And Its Dependencies

To uninstall libsecret-1-dev 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-dev

Remove libsecret-1-dev Configurations and Data

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

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

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

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

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

References

Summary

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