How To Install libdatetime-timezone-perl on Debian 10
Introduction
In this tutorial we learn how to install libdatetime-timezone-perl
on Debian 10.
What is libdatetime-timezone-perl
libdatetime-timezone-perl is:
DateTime::TimeZone is a Perl module framework providing an interface to the Olson time zone database. It exposes the database as a set of modules, one for each time zone defined, allowing for various optimizations in doing time zone calculations.
The Olson time zone database is the best available source for worldwide time zone information and is available from URL:ftp://ftp.iana.org/tz/releases/.
There are three methods to install libdatetime-timezone-perl
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libdatetime-timezone-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 libdatetime-timezone-perl
using apt-get
by running the following command:
sudo apt-get -y install libdatetime-timezone-perl
Install libdatetime-timezone-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdatetime-timezone-perl
using apt
by running the following command:
sudo apt -y install libdatetime-timezone-perl
Install libdatetime-timezone-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libdatetime-timezone-perl
using aptitude
by running the following command:
sudo aptitude -y install libdatetime-timezone-perl
How To Uninstall libdatetime-timezone-perl on Debian 10
To uninstall only the libdatetime-timezone-perl
package we can use the following command:
sudo apt-get remove libdatetime-timezone-perl
Uninstall libdatetime-timezone-perl And Its Dependencies
To uninstall libdatetime-timezone-perl
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libdatetime-timezone-perl
Remove libdatetime-timezone-perl Configurations and Data
To remove libdatetime-timezone-perl
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libdatetime-timezone-perl
Remove libdatetime-timezone-perl configuration, data, and all of its dependencies
We can use the following command to remove libdatetime-timezone-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdatetime-timezone-perl
Dependencies
libdatetime-timezone-perl have the following dependencies:
- perl
- libclass-singleton-perl
- libmodule-runtime-perl
- libnamespace-autoclean-perl
- libparams-validationcompiler-perl
- libscalar-list-utils-perl
References
Summary
In this tutorial we learn how to install libdatetime-timezone-perl
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.