How To Install libdist-metadata-perl on Kali Linux
Introduction
In this tutorial we learn how to install libdist-metadata-perl
on Kali Linux.
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 Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux
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 Kali Linux, 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 Kali Linux 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
Dependencies
libdist-metadata-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdist-metadata-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.