How To Install glewlwyd on Ubuntu 22.04

In this tutorial we learn how to install glewlwyd on Ubuntu 22.04. glewlwyd is Single-Sign-On server with multiple factor authentication

Introduction

In this tutorial we learn how to install glewlwyd on Ubuntu 22.04.

What is glewlwyd

glewlwyd is:

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

There are three methods to install glewlwyd on Ubuntu 22.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 glewlwyd 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 using apt-get by running the following command:

sudo apt-get -y install glewlwyd

Install glewlwyd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install glewlwyd

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

sudo aptitude -y install glewlwyd

How To Uninstall glewlwyd on Ubuntu 22.04

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

sudo apt-get remove glewlwyd

Uninstall glewlwyd And Its Dependencies

To uninstall glewlwyd and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove glewlwyd

Remove glewlwyd Configurations and Data

To remove glewlwyd configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge glewlwyd

Remove glewlwyd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge glewlwyd

References

Summary

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