Introduction
In this tutorial we learn how to install glewlwyd
on Ubuntu 20.04.
What is glewlwyd
glewlwyd 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.
There are three methods to install glewlwyd
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 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 20.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 20.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 20.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 20.04 using different package management tools: apt
, apt-get
and aptitude
.