How To Install libdate-jd-perl on Kali Linux
Introduction
In this tutorial we learn how to install libdate-jd-perl
on Kali Linux.
What is libdate-jd-perl
libdate-jd-perl is:
For date and time calculations it is convenient to represent dates by a simple linear count of days, rather than in a particular calendar. This is such a good idea that it has been invented several times. If there were a single such linear count then it would be the obvious data interchange format between calendar modules. With several versions, calendar modules can use such sensible data formats and still have interoperability problems. Date::JD tackles that problem, by performing conversions between different flavours of day count. These day count systems are generically known as “Julian Dates”, after the most venerable of them.
Among Julian Date systems there are also some non-trivial differences of concept. There are systems that count only complete days, and those that count fractional days also. There are some that are fixed to Universal Time (time on the prime meridian), and others that are interpreted according to a timezone. Some consider the day to start at noon and others at midnight, which is semantically significant for the complete-day counts. The functions of this module appropriately handle the semantics of all the non-trivial conversions.
There are three methods to install libdate-jd-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-jd-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-jd-perl
using apt-get
by running the following command:
sudo apt-get -y install libdate-jd-perl
Install libdate-jd-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdate-jd-perl
using apt
by running the following command:
sudo apt -y install libdate-jd-perl
Install libdate-jd-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-jd-perl
using aptitude
by running the following command:
sudo aptitude -y install libdate-jd-perl
How To Uninstall libdate-jd-perl on Kali Linux
To uninstall only the libdate-jd-perl
package we can use the following command:
sudo apt-get remove libdate-jd-perl
Uninstall libdate-jd-perl And Its Dependencies
To uninstall libdate-jd-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libdate-jd-perl
Remove libdate-jd-perl Configurations and Data
To remove libdate-jd-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libdate-jd-perl
Remove libdate-jd-perl configuration, data, and all of its dependencies
We can use the following command to remove libdate-jd-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdate-jd-perl
Dependencies
libdate-jd-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdate-jd-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.