Automic VaultAutomic Vault

brew

Install cctz with Homebrew, apt, dnf, Nix

C++ library for translating between absolute and civil times. Version 2.5 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cctz

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install libcctz-dev

Debian stable package indexes · libcctz-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install cctz

Fedora Rawhide package metadata · cctz · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#cctz

nixpkgs package indexes · pkgs/by-name/cc/cctz/package.nix · source: api.github.com

overview

Package summary

C++ library for translating between absolute and civil times

Commands and aliases

  • time_tool

history

Project history and usage

CCTZ is Google's C++ date, civil-time, and time-zone library for converting between absolute time and human civil time using IANA time-zone data. It is packaged both as a library and, in Homebrew, with the time_tool example executable.

Project history

The official repository was created in 2015. The README says CCTZ contains a Civil-Time Library and a Time-Zone Library that cooperate with C++ <chrono>, giving programmers tools for date, time, and time-zone work.

CCTZ had a v1.0 release in March 2016 and a v2.0 release in April 2016, followed by v2.1 in 2017, v2.2 in 2018, v2.3 in 2019, v2.4 in 2024, and v2.5 in 2025.

Adoption history

The README documents Bazel as the preferred build system while also supporting Make and CMake. The input package facts list Homebrew, Debian/Ubuntu libcctz-dev, Fedora/DNF, and Nix packages, showing adoption as a reusable C++ library rather than only as an application.

How it is used

CCTZ is used by C++ programs that need correct civil-date arithmetic and conversion between time zones and absolute time points. The README points users to cctz/civil_time.h, cctz/time_zone.h, examples, Bazel, CMake, and system-installed IANA zoneinfo data.

Why package nerds care

CCTZ is package-nerd significant because time-zone handling is notoriously edge-case heavy, and this library packages a focused C++ solution around IANA data before broad standard-library time-zone support was common in deployed toolchains.

Timeline

  • 2015: Official GitHub repository created.
  • 2016: v1.0 and v2.0 releases published.
  • 2019: v2.3 release published.
  • 2024: v2.4 release published.
  • 2025: v2.5 release published.

Related projects

  • The README references C++ <chrono>, the IANA time-zone database, Bazel, GoogleTest, and CMake.
  • The README also links older ISO C++ proposals for standardizing civil-time and time-zone libraries.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
time_toolcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.5
manager updated
local dataok
upstreamcurrent
latest detectedv2.5

https://github.com/google/cctz

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:cctz
Version2.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cctz
Homepagehttps://github.com/google/cctz
Repositoryhttps://github.com/google/cctz
Upstream docshttps://github.com/google/cctz#readme
LicenseApache-2.0
Source archivehttps://github.com/google/cctz/archive/refs/tags/v2.5.tar.gz
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecctz
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libcctz-dev 2.4+dfsg1-2

Library for computing dates, times and time zones, development files

https://github.com/google/cctz

sudo apt install libcctz-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: cctz
  • 1 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Cctz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcctz-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcctz-doc 2.4+dfsg1-2

Library for computing dates, times and time zones, documentation

https://github.com/google/cctz

sudo apt install libcctz-doc
  • Section: doc
  • Architecture: all
  • Source Package: cctz
  • normalized package name match
  • Matched by: Cctz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcctz-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcctz2.4 2.4+dfsg1-2

Library for computing dates, times and time zones, shared library

https://github.com/google/cctz

sudo apt install libcctz2.4
  • Section: libs
  • Architecture: amd64
  • Source Package: cctz
  • 3 dependencies
  • normalized package name match
  • Matched by: Cctz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcctz2.4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cctz

nix profile install nixpkgs#cctz
  • normalized package name match
  • Matched by: Cctz
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cc/cctz/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libcctz-dev 2.3+dfsg1-5build1

Library for computing dates, times and time zones, development files

https://github.com/google/cctz

sudo apt install libcctz-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: cctz
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Cctz
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcctz-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcctz-doc 2.3+dfsg1-5build1

Library for computing dates, times and time zones, documentation

https://github.com/google/cctz

sudo apt install libcctz-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: cctz
  • normalized package name match
  • Matched by: Cctz
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcctz-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcctz2 2.3+dfsg1-5build1

Library for computing dates, times and time zones, shared library

https://github.com/google/cctz

sudo apt install libcctz2
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: cctz
  • 3 dependencies
  • normalized package name match
  • Matched by: Cctz
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcctz2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

cctz 2.5-3.fc44

Translating between absolute and civil times using time zone rules

https://github.com/google/cctz

sudo dnf install cctz
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: cctz
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Cctz
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cctz from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

cctz-devel 2.5-3.fc44

Translating between absolute and civil times using time zone rules

https://github.com/google/cctz

sudo dnf install cctz-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: cctz
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Cctz
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cctz-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment