How To Install glewlwyd-common on Debian 12
Introduction
In this tutorial we learn how to install glewlwyd-common on Debian 12.
What is glewlwyd-common
glewlwyd-common is:
Experimental Single Sign On server, OAuth2, Openid Connect, multiple factor authentication with, HOTP/TOTP, FIDO2, TLS Certificates, etc. extensible via plugins.
It’s recommended not to use Glewlwyd in production, more likely to test OAuth2/OpenID behavior, MFA connections, or IdP in general. You can also explore its functionalities and help yourself with its source code for other implementations.
If you intend to use it in production, it’s highly recommended to follow the documentation and enable only the features you will use. Authentication processus supported:
- OAuth2
- OpenID Connect
Allows users to authenticate via multiple factors:
- Password
- One-time password (TOTP/HOTP)
- Webauthn (Yubikey, Android devices)
- One-time password sent via e-mail
- TLS Certificate
- External OAuth2/OIDC providers
Users and clients can be stored and managed from various backends:
- Database
- LDAP service
- HTTP Backend service providing Basic Authentication
Allows users to register a new account with the possibility to confirm their e-mail address or not. During the registration process, the new user may be expected to register their passwords, as well as other authentication factors:
- One-time password (TOTP/HOTP)
- Webauthn (Yubikey, Android devices)
- TLS Certificate
- External OAuth2/OIDC providers
This package contains the architecture independent files.
There are three methods to install glewlwyd-common on Debian 12. 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 12
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 12, 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 12 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 12 using different package management tools: apt, apt-get and aptitude.