How To Install libdate-iso8601-perl on Kali Linux
Introduction
In this tutorial we learn how to install libdate-iso8601-perl
on Kali Linux.
What is libdate-iso8601-perl
libdate-iso8601-perl is:
The international standard ISO 8601 “Data elements and interchange formats - Information interchange - Representation of dates and times” defines three distinct calendars by which days can be labelled. It also defines textual formats for the representation of dates in these calendars. Date::ISO8601 provides functions to convert dates between these three calendars and Chronological Julian Day Numbers, which is a suitable format to do arithmetic with. It also supplies functions that describe the shape of these calendars, to assist in calendrical calculations. It also supplies functions to represent dates textually in the ISO 8601 formats. ISO 8601 also covers time of day and time periods, but this module does nothing relating to those parts of the standard; this is only about labelling days.
The first ISO 8601 calendar divides time up into years, months, and days. It corresponds exactly to the Gregorian calendar, invented by Aloysius Lilius and promulgated by Pope Gregory XIII in the late sixteenth century, with AD (CE) year numbering. This calendar is applied to all time, not just to dates after its invention nor just to years 1 and later. Thus for ancient dates it is the proleptic Gregorian calendar with astronomical year numbering.
There are three methods to install libdate-iso8601-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-iso8601-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 libdate-iso8601-perl
using apt-get
by running the following command:
sudo apt-get -y install libdate-iso8601-perl
Install libdate-iso8601-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdate-iso8601-perl
using apt
by running the following command:
sudo apt -y install libdate-iso8601-perl
Install libdate-iso8601-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 libdate-iso8601-perl
using aptitude
by running the following command:
sudo aptitude -y install libdate-iso8601-perl
How To Uninstall libdate-iso8601-perl on Kali Linux
To uninstall only the libdate-iso8601-perl
package we can use the following command:
sudo apt-get remove libdate-iso8601-perl
Uninstall libdate-iso8601-perl And Its Dependencies
To uninstall libdate-iso8601-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libdate-iso8601-perl
Remove libdate-iso8601-perl Configurations and Data
To remove libdate-iso8601-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libdate-iso8601-perl
Remove libdate-iso8601-perl configuration, data, and all of its dependencies
We can use the following command to remove libdate-iso8601-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdate-iso8601-perl
Dependencies
libdate-iso8601-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdate-iso8601-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.