How To Install libdate-pcalc-perl on Kali Linux
Introduction
In this tutorial we learn how to install libdate-pcalc-perl on Kali Linux.
What is libdate-pcalc-perl
libdate-pcalc-perl is:
This package consists of a Perl module for all kinds of date calculations based on the Gregorian calendar (the one used in all western countries today), thereby complying with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to some extent, ISO 8601 (where applicable).
Date::Pcalc is a direct translation of Steffen Beyer’s excellent Date::Calc module to Perl.
There are three methods to install libdate-pcalc-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 libdate-pcalc-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libdate-pcalc-perl using apt-get by running the following command:
sudo apt-get -y install libdate-pcalc-perlInstall libdate-pcalc-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libdate-pcalc-perl using apt by running the following command:
sudo apt -y install libdate-pcalc-perlInstall libdate-pcalc-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 updateAfter updating apt database, We can install libdate-pcalc-perl using aptitude by running the following command:
sudo aptitude -y install libdate-pcalc-perlHow To Uninstall libdate-pcalc-perl on Kali Linux
To uninstall only the libdate-pcalc-perl package we can use the following command:
sudo apt-get remove libdate-pcalc-perlUninstall libdate-pcalc-perl And Its Dependencies
To uninstall libdate-pcalc-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libdate-pcalc-perlRemove libdate-pcalc-perl Configurations and Data
To remove libdate-pcalc-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libdate-pcalc-perlRemove libdate-pcalc-perl configuration, data, and all of its dependencies
We can use the following command to remove libdate-pcalc-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdate-pcalc-perlDependencies
libdate-pcalc-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdate-pcalc-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.