How To Install libscriptalicious-perl on Ubuntu 18.04

In this tutorial we learn how to install libscriptalicious-perl on Ubuntu 18.04. libscriptalicious-perl is module to simplify writing of Perl scripts

Introduction

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

What is libscriptalicious-perl

libscriptalicious-perl is:

Scriptalicious is a Perl module that enables developers to write scripts that conform to common best practices, quickly and easily. It provides some useful features such as providing a help message via the -h option and shortcuts for aborting the program with various error conditions.

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

sudo apt-get -y install libscriptalicious-perl

Install libscriptalicious-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libscriptalicious-perl

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

sudo aptitude -y install libscriptalicious-perl

How To Uninstall libscriptalicious-perl on Ubuntu 18.04

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

sudo apt-get remove libscriptalicious-perl

Uninstall libscriptalicious-perl And Its Dependencies

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

sudo apt-get -y autoremove libscriptalicious-perl

Remove libscriptalicious-perl Configurations and Data

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

sudo apt-get -y purge libscriptalicious-perl

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

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

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

References

Summary

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