How To Install liblasso-perl on Ubuntu 18.04

In this tutorial we learn how to install liblasso-perl on Ubuntu 18.04. liblasso-perl is Library for Liberty Alliance and SAML protocols - Perl bindings

Introduction

In this tutorial we learn how to install liblasso-perl on Ubuntu 18.04.

What is liblasso-perl

liblasso-perl is:

Lasso is an implementation of Liberty Alliance and related protocols, for network identity federations, single sign-on and other web services protocols. The main specifications implemented by the library are ID-FF, ID-WSF and SAML.

This package contains Perl bindings for liblasso, needed to use lasso in Perl applications.

There are three methods to install liblasso-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 liblasso-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 liblasso-perl using apt-get by running the following command:

sudo apt-get -y install liblasso-perl

Install liblasso-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblasso-perl

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

sudo aptitude -y install liblasso-perl

How To Uninstall liblasso-perl on Ubuntu 18.04

To uninstall only the liblasso-perl package we can use the following command:

sudo apt-get remove liblasso-perl

Uninstall liblasso-perl And Its Dependencies

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

sudo apt-get -y autoremove liblasso-perl

Remove liblasso-perl Configurations and Data

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

sudo apt-get -y purge liblasso-perl

Remove liblasso-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liblasso-perl

References

Summary

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