How To Install libmoosex-role-strict-perl on Debian 11
Introduction
In this tutorial we learn how to install libmoosex-role-strict-perl
on Debian 11.
What is libmoosex-role-strict-perl
libmoosex-role-strict-perl is:
When using Moose::Role, a class which provides a method a role provides will silently override that method. This can cause strange, hard-to-debug errors when the role’s methods are not called. Simple use MooseX::Role::Strict instead of Moose::Role and overriding a role’s method becomes a composition-time failure.
WARNING: this is ALPHA code. More features to be added later.
There are three methods to install libmoosex-role-strict-perl
on Debian 11. 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-strict-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-strict-perl
using apt-get
by running the following command:
sudo apt-get -y install libmoosex-role-strict-perl
Install libmoosex-role-strict-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmoosex-role-strict-perl
using apt
by running the following command:
sudo apt -y install libmoosex-role-strict-perl
Install libmoosex-role-strict-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-strict-perl
using aptitude
by running the following command:
sudo aptitude -y install libmoosex-role-strict-perl
How To Uninstall libmoosex-role-strict-perl on Debian 11
To uninstall only the libmoosex-role-strict-perl
package we can use the following command:
sudo apt-get remove libmoosex-role-strict-perl
Uninstall libmoosex-role-strict-perl And Its Dependencies
To uninstall libmoosex-role-strict-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libmoosex-role-strict-perl
Remove libmoosex-role-strict-perl Configurations and Data
To remove libmoosex-role-strict-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libmoosex-role-strict-perl
Remove libmoosex-role-strict-perl configuration, data, and all of its dependencies
We can use the following command to remove libmoosex-role-strict-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmoosex-role-strict-perl
Dependencies
libmoosex-role-strict-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libmoosex-role-strict-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.