How To Install libuniversal-moniker-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libuniversal-moniker-perl
on Ubuntu 20.04.
What is libuniversal-moniker-perl
libuniversal-moniker-perl is:
Class names in Perl often don’t sound great when spoken, or look good when written in prose. For this reason, the module authors tend to say things like “customer” or “basket” when they are referring to “My::Site::User::Customer” or “My::Site::Shop::Basket”. They thought it would be nice if their classes knew what they would prefer to call them.
The UNIVERSAL::moniker module will add a “moniker” (and “plural_moniker”) method to “UNIVERSAL”, and so to every class or module.
There are three methods to install libuniversal-moniker-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 libuniversal-moniker-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 libuniversal-moniker-perl
using apt-get
by running the following command:
sudo apt-get -y install libuniversal-moniker-perl
Install libuniversal-moniker-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libuniversal-moniker-perl
using apt
by running the following command:
sudo apt -y install libuniversal-moniker-perl
Install libuniversal-moniker-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 libuniversal-moniker-perl
using aptitude
by running the following command:
sudo aptitude -y install libuniversal-moniker-perl
How To Uninstall libuniversal-moniker-perl on Ubuntu 20.04
To uninstall only the libuniversal-moniker-perl
package we can use the following command:
sudo apt-get remove libuniversal-moniker-perl
Uninstall libuniversal-moniker-perl And Its Dependencies
To uninstall libuniversal-moniker-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libuniversal-moniker-perl
Remove libuniversal-moniker-perl Configurations and Data
To remove libuniversal-moniker-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libuniversal-moniker-perl
Remove libuniversal-moniker-perl configuration, data, and all of its dependencies
We can use the following command to remove libuniversal-moniker-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libuniversal-moniker-perl
References
Summary
In this tutorial we learn how to install libuniversal-moniker-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.