How To Install liblemonldap-ng-portal-perl on Ubuntu 18.04

In this tutorial we learn how to install liblemonldap-ng-portal-perl on Ubuntu 18.04. liblemonldap-ng-portal-perl is Lemonldap

Introduction

In this tutorial we learn how to install liblemonldap-ng-portal-perl on Ubuntu 18.04.

What is liblemonldap-ng-portal-perl

liblemonldap-ng-portal-perl is:

Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies or directly on application webservers. It can be used in conjunction with OpenID-Connect, CAS and SAML systems as identity or service provider. It can also be used as proxy between those federation systems.

It manages both authentication and authorization and provides headers for accounting. So you can have a full AAA protection. Authorization are built by associating a regular expression and a rule. Regular expression is applied on the requested URL and the rule calculates if the user is authorized.

Lemonldap::NG::Portal provides the authentication portal.

There are three methods to install liblemonldap-ng-portal-perl 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 liblemonldap-ng-portal-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install liblemonldap-ng-portal-perl using apt-get by running the following command:

sudo apt-get -y install liblemonldap-ng-portal-perl

Install liblemonldap-ng-portal-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liblemonldap-ng-portal-perl using apt by running the following command:

sudo apt -y install liblemonldap-ng-portal-perl

Install liblemonldap-ng-portal-perl 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 liblemonldap-ng-portal-perl using aptitude by running the following command:

sudo aptitude -y install liblemonldap-ng-portal-perl

How To Uninstall liblemonldap-ng-portal-perl on Ubuntu 18.04

To uninstall only the liblemonldap-ng-portal-perl package we can use the following command:

sudo apt-get remove liblemonldap-ng-portal-perl

Uninstall liblemonldap-ng-portal-perl And Its Dependencies

To uninstall liblemonldap-ng-portal-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove liblemonldap-ng-portal-perl

Remove liblemonldap-ng-portal-perl Configurations and Data

To remove liblemonldap-ng-portal-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge liblemonldap-ng-portal-perl

Remove liblemonldap-ng-portal-perl configuration, data, and all of its dependencies

We can use the following command to remove liblemonldap-ng-portal-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge liblemonldap-ng-portal-perl

References

Summary

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