How To Install libdate-tz3 on Debian 12

Learn how to install libdate-tz3 on Debian 12 with this tutorial. libdate-tz3 is date and time library based on the C++ header

Introduction

In this tutorial we learn how to install libdate-tz3 on Debian 12.

What is libdate-tz3

libdate-tz3 is:

howardhinnant-date extends to calendars and timezones, focusing on a seamless integration with the existing library, type safety, performance and ease of use.

This package contains the date-tz library

There are three methods to install libdate-tz3 on Debian 12. 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-tz3 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-tz3 using apt-get by running the following command:

sudo apt-get -y install libdate-tz3

Install libdate-tz3 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdate-tz3 using apt by running the following command:

sudo apt -y install libdate-tz3

Install libdate-tz3 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 libdate-tz3 using aptitude by running the following command:

sudo aptitude -y install libdate-tz3

How To Uninstall libdate-tz3 on Debian 12

To uninstall only the libdate-tz3 package we can use the following command:

sudo apt-get remove libdate-tz3

Uninstall libdate-tz3 And Its Dependencies

To uninstall libdate-tz3 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libdate-tz3

Remove libdate-tz3 Configurations and Data

To remove libdate-tz3 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libdate-tz3

Remove libdate-tz3 configuration, data, and all of its dependencies

We can use the following command to remove libdate-tz3 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libdate-tz3

Dependencies

libdate-tz3 have the following dependencies:

References

Summary

In this tutorial we learn how to install libdate-tz3 package on Debian 12 using different package management tools: apt, apt-get and aptitude.