Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, Nix, apt 安装 cctz

查看 cctz 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cctz

local Homebrew formula metadata

Linux

Fedora dnf已验证 · 92%
sudo dnf install cctz

Fedora Rawhide package metadata · cctz · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#cctz

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

Debian apt已验证 · 92%
sudo apt install libcctz-dev

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

概览

软件包摘要

C++ library for translating between absolute and civil times

命令和别名

  • time_tool

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
time_toolcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.5
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v2.5

https://github.com/google/cctz

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:cctz
版本2.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cctz
主页https://github.com/google/cctz
仓库https://github.com/google/cctz
上游文档https://github.com/google/cctz#readme
许可证Apache-2.0
源码归档https://github.com/google/cctz/archive/refs/tags/v2.5.tar.gz
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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