How To Install libparams-classify-perl on Ubuntu 18.04

In this tutorial we learn how to install libparams-classify-perl on Ubuntu 18.04. libparams-classify-perl is Perl module for argument type classification

Introduction

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

What is libparams-classify-perl

libparams-classify-perl is:

Params::Classify provides various type-testing functions. These are intended for functions that, unlike most Perl code, care what type of data they are operating on. For example, some functions wish to behave differently depending on the type of their arguments (like overloaded functions in C++).

These functions only provide type classification; they do not enforce type restrictions. Type enforcement may, of course, be built using these classification functions, but the reader’s attention is drawn to libparams-validate-perl.

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

sudo apt-get -y install libparams-classify-perl

Install libparams-classify-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libparams-classify-perl

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

sudo aptitude -y install libparams-classify-perl

How To Uninstall libparams-classify-perl on Ubuntu 18.04

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

sudo apt-get remove libparams-classify-perl

Uninstall libparams-classify-perl And Its Dependencies

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

sudo apt-get -y autoremove libparams-classify-perl

Remove libparams-classify-perl Configurations and Data

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

sudo apt-get -y purge libparams-classify-perl

Remove libparams-classify-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libparams-classify-perl

References

Summary

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