How To Install glewlwyd-common on Debian 10

Learn how to install glewlwyd-common on Debian 10 with this tutorial. glewlwyd-common is OAuth2 authentication server providing Json Web Tokens - common files

Introduction

In this tutorial we learn how to install glewlwyd-common on Debian 10.

What is glewlwyd-common

glewlwyd-common is:

Lightweight, fast and easy to install on small systems. Requires a MySql or SQLite3 database. Handles LDAP or database for users backend.

The API backend is fully written in language C, it’s based on Ulfius HTTP framework, Hoel database framework and Libjwt JSON Web Tokens library.

This package contains the architecture independent files.

There are three methods to install glewlwyd-common 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 glewlwyd-common Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install glewlwyd-common

Install glewlwyd-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install glewlwyd-common

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

sudo aptitude -y install glewlwyd-common

How To Uninstall glewlwyd-common on Debian 10

To uninstall only the glewlwyd-common package we can use the following command:

sudo apt-get remove glewlwyd-common

Uninstall glewlwyd-common And Its Dependencies

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

sudo apt-get -y autoremove glewlwyd-common

Remove glewlwyd-common Configurations and Data

To remove glewlwyd-common configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge glewlwyd-common

Remove glewlwyd-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge glewlwyd-common

Dependencies

glewlwyd-common have the following dependencies:

References

Summary

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