Introduction
In this tutorial we learn how to install libdist-metadata-perl
on Ubuntu 20.04.
What is libdist-metadata-perl
libdist-metadata-perl is:
Dist::Metadata provides an easy interface for getting various metadata about
a Perl module distribution.
This is mostly a wrapper around CPAN::Meta providing an easy interface to
find and load the meta file from a tar.gz file. A dist can also be
represented by a directory or merely a structure of data.
If the dist does not contain a meta file the module will attempt to determine
some of that data from the dist.
There are three methods to install libdist-metadata-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 libdist-metadata-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 libdist-metadata-perl
using apt-get
by running the following command:
sudo apt-get -y install libdist-metadata-perl
Install libdist-metadata-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdist-metadata-perl
using apt
by running the following command:
sudo apt -y install libdist-metadata-perl
Install libdist-metadata-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 libdist-metadata-perl
using aptitude
by running the following command:
sudo aptitude -y install libdist-metadata-perl
How To Uninstall libdist-metadata-perl on Ubuntu 20.04
To uninstall only the libdist-metadata-perl
package we can use the following command:
sudo apt-get remove libdist-metadata-perl
Uninstall libdist-metadata-perl And Its Dependencies
To uninstall libdist-metadata-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libdist-metadata-perl
Remove libdist-metadata-perl Configurations and Data
To remove libdist-metadata-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libdist-metadata-perl
Remove libdist-metadata-perl configuration, data, and all of its dependencies
We can use the following command to remove libdist-metadata-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdist-metadata-perl
References
Summary
In this tutorial we learn how to install libdist-metadata-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.