How To Install libdate-calc-perl on Kali Linux
Introduction
In this tutorial we learn how to install libdate-calc-perl
on Kali Linux.
What is libdate-calc-perl
libdate-calc-perl is:
Date::Calc is a Perl module which provides a variety of date calculations based on the Gregorian calendar (the one used in Western countries today), complying with the ISO/R 2015-1971 and DIN 1355 standards which specify things such as what leap years are, when they occur, how the week numbers are defined, what’s the first day of the week, how many weeks (52 or 53) a given year has, and so on.
Although the Gregorian calendar was only adopted 1582 by most (not all) European countries (some countries continued to use the Julian calendar until as late as the beginning of the 20th century!), this package allows you to extrapolate the Gregorian calendar back until the year 1.
If Date::Calc::XS (libdate-calc-xs-perl) is available, this package will automatically accelerate its operation using the C/XS implementation.
There are three methods to install libdate-calc-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-calc-perl Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install libdate-calc-perl
using apt-get
by running the following command:
Install libdate-calc-perl Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install libdate-calc-perl
using apt
by running the following command:
Install libdate-calc-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.
After updating apt database, We can install libdate-calc-perl
using aptitude
by running the following command:
How To Uninstall libdate-calc-perl on Kali Linux
To uninstall only the libdate-calc-perl
package we can use the following command:
Uninstall libdate-calc-perl And Its Dependencies
To uninstall libdate-calc-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove libdate-calc-perl Configurations and Data
To remove libdate-calc-perl
configuration and data from Kali Linux we can use the following command:
Remove libdate-calc-perl configuration, data, and all of its dependencies
We can use the following command to remove libdate-calc-perl
configurations, data and all of its dependencies, we can use the following command:
Dependencies
libdate-calc-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdate-calc-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.