How To Install libmoosex-role-parameterized-perl on Debian 10

Learn how to install libmoosex-role-parameterized-perl on Debian 10 with this tutorial. libmoosex-role-parameterized-perl is Moose extension providing parameterized roles

Introduction

In this tutorial we learn how to install libmoosex-role-parameterized-perl on Debian 10.

What is libmoosex-role-parameterized-perl

libmoosex-role-parameterized-perl is:

MooseX::Role::Parameterized is a Moose extension that consists of two things: parameter declarations and a role block.

Parameters are declared using the “parameter” keyword which resembles Moose’s “has”, even supporting any option that “has” accepts. You can use any option that “has” accepts. The default value for the “is” option is read-only, as that’s a very common case. These parameters will get their values when the consuming class (or role) uses Moose’s “with”. A parameter object will be constructed with these values, and passed to the role block.

There are three methods to install libmoosex-role-parameterized-perl on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libmoosex-role-parameterized-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 libmoosex-role-parameterized-perl using apt-get by running the following command:

sudo apt-get -y install libmoosex-role-parameterized-perl

Install libmoosex-role-parameterized-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmoosex-role-parameterized-perl

Install libmoosex-role-parameterized-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libmoosex-role-parameterized-perl using aptitude by running the following command:

sudo aptitude -y install libmoosex-role-parameterized-perl

How To Uninstall libmoosex-role-parameterized-perl on Debian 10

To uninstall only the libmoosex-role-parameterized-perl package we can use the following command:

sudo apt-get remove libmoosex-role-parameterized-perl

Uninstall libmoosex-role-parameterized-perl And Its Dependencies

To uninstall libmoosex-role-parameterized-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libmoosex-role-parameterized-perl

Remove libmoosex-role-parameterized-perl Configurations and Data

To remove libmoosex-role-parameterized-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libmoosex-role-parameterized-perl

Remove libmoosex-role-parameterized-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmoosex-role-parameterized-perl

Dependencies

libmoosex-role-parameterized-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libmoosex-role-parameterized-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.