How To Install libpgobject-type-datetime-perl on Kali Linux
Introduction
In this tutorial we learn how to install libpgobject-type-datetime-perl
on Kali Linux.
What is libpgobject-type-datetime-perl
libpgobject-type-datetime-perl is:
PGObject::Type::DateTime provides a basic wrapper around DateTime to allow PGObject-framework types to automatically tie date/time related objects, but date and timestamp formats are handled in the ‘from_db’ routines.
This specific module only supports the ISO YMD datestyle. The MDY or DMY datestyles may be usable in future versions but datestyles other than ISO raise ambiguity issues, sufficient that they cannot always even be used in PostgreSQL as input.
This module also provides basic default handling. Times are assigned a date of ‘0001-01-01’ and dates are assigned a time of midnight. Whether this is set is persisted, along with whether timezones are set, and these are returned to a valid ISO YMD format on export, if a date component was initially set.
This means you can use this for general math without worrying about many of the other nicities. Parsing ISO YMD dates and standard times (24 hr format) is supported via the from_db interface, which also provides a useful way of handing dates in.
There are three methods to install libpgobject-type-datetime-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 libpgobject-type-datetime-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 libpgobject-type-datetime-perl
using apt-get
by running the following command:
sudo apt-get -y install libpgobject-type-datetime-perl
Install libpgobject-type-datetime-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpgobject-type-datetime-perl
using apt
by running the following command:
sudo apt -y install libpgobject-type-datetime-perl
Install libpgobject-type-datetime-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 libpgobject-type-datetime-perl
using aptitude
by running the following command:
sudo aptitude -y install libpgobject-type-datetime-perl
How To Uninstall libpgobject-type-datetime-perl on Kali Linux
To uninstall only the libpgobject-type-datetime-perl
package we can use the following command:
sudo apt-get remove libpgobject-type-datetime-perl
Uninstall libpgobject-type-datetime-perl And Its Dependencies
To uninstall libpgobject-type-datetime-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libpgobject-type-datetime-perl
Remove libpgobject-type-datetime-perl Configurations and Data
To remove libpgobject-type-datetime-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libpgobject-type-datetime-perl
Remove libpgobject-type-datetime-perl configuration, data, and all of its dependencies
We can use the following command to remove libpgobject-type-datetime-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpgobject-type-datetime-perl
Dependencies
libpgobject-type-datetime-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libpgobject-type-datetime-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.