How To Install libmousex-foreign-perl on Debian 9
Introduction
In this tutorial we learn how to install libmousex-foreign-perl
on Debian 9.
What is libmousex-foreign-perl
libmousex-foreign-perl is:
MouseX::Foreign provides an ability for Mouse classes to extend any classes, including non-Mouse classes, including Moose classes.
It is a Mouse port of MooseX::NonMoose, although the name is different.
There are three methods to install libmousex-foreign-perl
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libmousex-foreign-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 libmousex-foreign-perl
using apt-get
by running the following command:
sudo apt-get -y install libmousex-foreign-perl
Install libmousex-foreign-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmousex-foreign-perl
using apt
by running the following command:
sudo apt -y install libmousex-foreign-perl
Install libmousex-foreign-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 libmousex-foreign-perl
using aptitude
by running the following command:
sudo aptitude -y install libmousex-foreign-perl
How To Uninstall libmousex-foreign-perl on Debian 9
To uninstall only the libmousex-foreign-perl
package we can use the following command:
sudo apt-get remove libmousex-foreign-perl
Uninstall libmousex-foreign-perl And Its Dependencies
To uninstall libmousex-foreign-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libmousex-foreign-perl
Remove libmousex-foreign-perl Configurations and Data
To remove libmousex-foreign-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libmousex-foreign-perl
Remove libmousex-foreign-perl configuration, data, and all of its dependencies
We can use the following command to remove libmousex-foreign-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmousex-foreign-perl
Dependencies
libmousex-foreign-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libmousex-foreign-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.