How To Install libcpan-uploader-perl on Kali Linux
Introduction
In this tutorial we learn how to install libcpan-uploader-perl
on Kali Linux.
What is libcpan-uploader-perl
libcpan-uploader-perl is:
CPAN::Uploader is a Perl module which allows developers to upload their modules and packages to the Comprehensive Perl Archive Network (CPAN) via the [Perl programming] Authors Upload Server (more commonly known as PAUSE).
It provides a direct programmatic interface via a singleton class, but also includes a command-line utility called `cpan-upload’ to do the same.
There are three methods to install libcpan-uploader-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 libcpan-uploader-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 libcpan-uploader-perl
using apt-get
by running the following command:
sudo apt-get -y install libcpan-uploader-perl
Install libcpan-uploader-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcpan-uploader-perl
using apt
by running the following command:
sudo apt -y install libcpan-uploader-perl
Install libcpan-uploader-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 libcpan-uploader-perl
using aptitude
by running the following command:
sudo aptitude -y install libcpan-uploader-perl
How To Uninstall libcpan-uploader-perl on Kali Linux
To uninstall only the libcpan-uploader-perl
package we can use the following command:
sudo apt-get remove libcpan-uploader-perl
Uninstall libcpan-uploader-perl And Its Dependencies
To uninstall libcpan-uploader-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libcpan-uploader-perl
Remove libcpan-uploader-perl Configurations and Data
To remove libcpan-uploader-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libcpan-uploader-perl
Remove libcpan-uploader-perl configuration, data, and all of its dependencies
We can use the following command to remove libcpan-uploader-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcpan-uploader-perl
Dependencies
libcpan-uploader-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libcpan-uploader-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.