How To Install webauth-weblogin on Ubuntu 18.04

In this tutorial we learn how to install webauth-weblogin on Ubuntu 18.04. webauth-weblogin is Central login server for WebAuth authentication

Introduction

In this tutorial we learn how to install webauth-weblogin on Ubuntu 18.04.

What is webauth-weblogin

webauth-weblogin is:

WebAuth is a cookie-based web authentication system built on top of Kerberos. It relies on a central authentication server that handles all user authentication for a domain and creates user authentication credentials for any web server that needs strong authentication.

This package contains the CGI-based WebLogin server that handles initial user authentication and building authentication tokens for WebAuth servers. Only one WebLogin server is needed to support a site WebAuth installation. It is normally run on the same system as the WebKDC.

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

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

sudo apt-get update

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

sudo apt-get -y install webauth-weblogin

Install webauth-weblogin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install webauth-weblogin

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

sudo aptitude -y install webauth-weblogin

How To Uninstall webauth-weblogin on Ubuntu 18.04

To uninstall only the webauth-weblogin package we can use the following command:

sudo apt-get remove webauth-weblogin

Uninstall webauth-weblogin And Its Dependencies

To uninstall webauth-weblogin and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove webauth-weblogin

Remove webauth-weblogin Configurations and Data

To remove webauth-weblogin configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge webauth-weblogin

Remove webauth-weblogin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge webauth-weblogin

References

Summary

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