How To Install cctz on Fedora 34

cctz is Translating between absolute and civil times using time zone rules Translating between absolute and civil times using time zone rules

Introduction

In this tutorial we learn how to install cctz on Fedora 34.

What is cctz

CCTZ contains two libraries that cooperate with to give C++ programmers all the necessary tools for computing with dates, times, and time zones in a simple and correct manner. The libraries in CCTZ are * The Civil-Time Library - This is a header-only library that supports computing with human-scale time, such as dates (which are represented by the cctz * The Time-Zone Library - This library uses the IANA time zone database that is installed on the system to convert between absolute time and civil time. cctz 2.3 6.fc34 x86_64 75 k cctz-2.3-6.fc34.src.rpm fedora Translating between absolute and civil times using time zone rules https ASL 2.0 CCTZ contains two libraries that cooperate with to give C++ programmers all the necessary tools for computing with dates, times, and time zones in a simple and correct manner. The libraries in CCTZ are * The Civil-Time Library - This is a header-only library that supports computing with human-scale time, such as dates (which are represented by the cctz * The Time-Zone Library - This library uses the IANA time zone database that is installed on the system to convert between absolute time and civil time.

We can use yum or dnf to install cctz on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install cctz.

Install cctz on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install cctz using dnf by running the following command:

sudo dnf -y install cctz

Install cctz on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install cctz using yum by running the following command:

sudo yum -y install cctz

How To Uninstall cctz on Fedora 34

To uninstall only the cctz package we can use the following command:

sudo dnf remove cctz

cctz Package Contents on Fedora 34

/usr/bin/time_tool
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/3693b328e5eb45b19c237bd00c78001955c67f
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/103b487c46acb3c8fc52fd7aa284a691a3bdf4
/usr/lib/libcctz.so.2
/usr/lib/libcctz.so.2.3
/usr/share/doc/cctz
/usr/share/doc/cctz/README.md
/usr/share/licenses/cctz
/usr/share/licenses/cctz/LICENSE.txt
/usr/bin/time_tool
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/4c3a5d36e848bc3f7b4fe3be10392f5233ed28
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/dc3faa4725299cf66957581a64566fe8b79a6c
/usr/lib64/libcctz.so.2
/usr/lib64/libcctz.so.2.3
/usr/share/doc/cctz
/usr/share/doc/cctz/README.md
/usr/share/licenses/cctz
/usr/share/licenses/cctz/LICENSE.txt

References

Summary

In this tutorial we learn how to install cctz on Fedora 34 using yum and dnf.