How To Install libparse-method-signatures-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libparse-method-signatures-perl
on Ubuntu 20.04.
What is libparse-method-signatures-perl
libparse-method-signatures-perl is:
Parse::Method::Signatures takes a method signature and extracts information about it. For users of Perl5 who are unfamiliar with this feature, it is essentially what prototypes are to other languages like C, where methods and functions have parameterized lists that can also optionally enforce data type constraints. It is useful to process Perl6 code, but also the subset of Perl6 supported backported to Perl5 via Moose.
This is primarily intended as a utility module to be used by developers that work with either Moose or Perl6 code, such as MooseX::Method::Signatures (see libmoosex-method-signatures-perl).
There are three methods to install libparse-method-signatures-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 libparse-method-signatures-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 libparse-method-signatures-perl
using apt-get
by running the following command:
sudo apt-get -y install libparse-method-signatures-perl
Install libparse-method-signatures-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libparse-method-signatures-perl
using apt
by running the following command:
sudo apt -y install libparse-method-signatures-perl
Install libparse-method-signatures-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 libparse-method-signatures-perl
using aptitude
by running the following command:
sudo aptitude -y install libparse-method-signatures-perl
How To Uninstall libparse-method-signatures-perl on Ubuntu 20.04
To uninstall only the libparse-method-signatures-perl
package we can use the following command:
sudo apt-get remove libparse-method-signatures-perl
Uninstall libparse-method-signatures-perl And Its Dependencies
To uninstall libparse-method-signatures-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libparse-method-signatures-perl
Remove libparse-method-signatures-perl Configurations and Data
To remove libparse-method-signatures-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libparse-method-signatures-perl
Remove libparse-method-signatures-perl configuration, data, and all of its dependencies
We can use the following command to remove libparse-method-signatures-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libparse-method-signatures-perl
References
Summary
In this tutorial we learn how to install libparse-method-signatures-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.