How To Install dynalogin-server on Ubuntu 18.04
Introduction
In this tutorial we learn how to install dynalogin-server on Ubuntu 18.04.
What is dynalogin-server
dynalogin-server is:
dynalogin is a two-factor authentication framework based on the HOTP/TOTP (Open Authentication) algorithms. Dynalogin can store credentials in any database supported by UNIXODBC, which makes the solution robust and scalable. It can also store credentials in flat files if desired. dynalogin has been successfully integrated in solutions for OpenID, making it possible to use two-factor authentication with hundreds of other web applications and public web sites. There is a dynalogin soft-token for Android and it also works with Google Authenticator.
This package provides dynalogind, the server daemon for a dynalogin two-factor authentication server.
There are three methods to install dynalogin-server on Ubuntu 18.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 dynalogin-server Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install dynalogin-server using apt-get by running the following command:
sudo apt-get -y install dynalogin-server
Install dynalogin-server Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install dynalogin-server using apt by running the following command:
sudo apt -y install dynalogin-server
Install dynalogin-server 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 dynalogin-server using aptitude by running the following command:
sudo aptitude -y install dynalogin-server
How To Uninstall dynalogin-server on Ubuntu 18.04
To uninstall only the dynalogin-server package we can use the following command:
sudo apt-get remove dynalogin-server
Uninstall dynalogin-server And Its Dependencies
To uninstall dynalogin-server and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove dynalogin-server
Remove dynalogin-server Configurations and Data
To remove dynalogin-server configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge dynalogin-server
Remove dynalogin-server configuration, data, and all of its dependencies
We can use the following command to remove dynalogin-server configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dynalogin-server
References
Summary
In this tutorial we learn how to install dynalogin-server package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.