How To Install libcommon-sense-perl on Kali Linux

In this tutorial we learn how to install libcommon-sense-perl on Kali Linux. libcommon-sense-perl is module that implements some sane defaults for Perl programs

Introduction

In this tutorial we learn how to install libcommon-sense-perl on Kali Linux.

What is libcommon-sense-perl

libcommon-sense-perl is:

common::sense implements some sane defaults for Perl programs, as defined by two typical (or not so typical - use your common sense) specimens of Perl coders.

There are three methods to install libcommon-sense-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 libcommon-sense-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 libcommon-sense-perl using apt-get by running the following command:

sudo apt-get -y install libcommon-sense-perl

Install libcommon-sense-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcommon-sense-perl using apt by running the following command:

sudo apt -y install libcommon-sense-perl

Install libcommon-sense-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 libcommon-sense-perl using aptitude by running the following command:

sudo aptitude -y install libcommon-sense-perl

How To Uninstall libcommon-sense-perl on Kali Linux

To uninstall only the libcommon-sense-perl package we can use the following command:

sudo apt-get remove libcommon-sense-perl

Uninstall libcommon-sense-perl And Its Dependencies

To uninstall libcommon-sense-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libcommon-sense-perl

Remove libcommon-sense-perl Configurations and Data

To remove libcommon-sense-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libcommon-sense-perl

Remove libcommon-sense-perl configuration, data, and all of its dependencies

We can use the following command to remove libcommon-sense-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libcommon-sense-perl

Dependencies

libcommon-sense-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libcommon-sense-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.