How To Install libsignon-glib2 on Debian 11

In this tutorial we learn how to install libsignon-glib2 on Debian 11. libsignon-glib2 is GLib Library for managing SSO credentials

Introduction

In this tutorial we learn how to install libsignon-glib2 on Debian 11.

What is libsignon-glib2

libsignon-glib2 is:

This is effectively a GLib binding for the D-Bus API provided by signond. It is part of the accounts-sso project.

There are three methods to install libsignon-glib2 on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libsignon-glib2 Using apt-get

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

sudo apt-get update

After updating apt database, We can install libsignon-glib2 using apt-get by running the following command:

sudo apt-get -y install libsignon-glib2

Install libsignon-glib2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsignon-glib2

Install libsignon-glib2 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 libsignon-glib2 using aptitude by running the following command:

sudo aptitude -y install libsignon-glib2

How To Uninstall libsignon-glib2 on Debian 11

To uninstall only the libsignon-glib2 package we can use the following command:

sudo apt-get remove libsignon-glib2

Uninstall libsignon-glib2 And Its Dependencies

To uninstall libsignon-glib2 and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libsignon-glib2

Remove libsignon-glib2 Configurations and Data

To remove libsignon-glib2 configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libsignon-glib2

Remove libsignon-glib2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsignon-glib2

Dependencies

libsignon-glib2 have the following dependencies:

References

Summary

In this tutorial we learn how to install libsignon-glib2 package on Debian 11 using different package management tools: apt, apt-get and aptitude.