How To Install libmoox-handlesvia-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libmoox-handlesvia-perl
on Ubuntu 20.04.
What is libmoox-handlesvia-perl
libmoox-handlesvia-perl is:
MooX::HandlesVia is an extension of Moo’s ‘handles’ attribute functionality. It provides a means of proxying functionality from an external class to the given attribute.
This is most commonly used as a way to emulate ‘Native Trait’ behavior that is common in Moose code.
There are three methods to install libmoox-handlesvia-perl
on Ubuntu 20.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 libmoox-handlesvia-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 libmoox-handlesvia-perl
using apt-get
by running the following command:
sudo apt-get -y install libmoox-handlesvia-perl
Install libmoox-handlesvia-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmoox-handlesvia-perl
using apt
by running the following command:
sudo apt -y install libmoox-handlesvia-perl
Install libmoox-handlesvia-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 libmoox-handlesvia-perl
using aptitude
by running the following command:
sudo aptitude -y install libmoox-handlesvia-perl
How To Uninstall libmoox-handlesvia-perl on Ubuntu 20.04
To uninstall only the libmoox-handlesvia-perl
package we can use the following command:
sudo apt-get remove libmoox-handlesvia-perl
Uninstall libmoox-handlesvia-perl And Its Dependencies
To uninstall libmoox-handlesvia-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libmoox-handlesvia-perl
Remove libmoox-handlesvia-perl Configurations and Data
To remove libmoox-handlesvia-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libmoox-handlesvia-perl
Remove libmoox-handlesvia-perl configuration, data, and all of its dependencies
We can use the following command to remove libmoox-handlesvia-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmoox-handlesvia-perl
References
Summary
In this tutorial we learn how to install libmoox-handlesvia-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.