Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, Nix 安装 ccal

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ccal

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ccal

MacPorts ports tree · sysutils/ccal/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install ccal

Debian stable package indexes · ccal · 来源: deb.debian.org

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

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

概览

软件包摘要

Create Chinese calendars for print or browsing

命令和别名

  • ccal
  • ccalpdf

历史

项目历史与用法

ccal is Zhuo Meng's command-line Chinese calendar generator. The official page describes a cal-like Unix utility that prints Gregorian calendars together with Chinese calendar information and can also generate Encapsulated PostScript, HTML table, and XML output.

项目历史

The official 2.5.3 page records development from at least version 1.1 on 1 April 2000 through version 2.5.3 on 4 March 2012. Early changes focused on smoother Chinese font rendering, a cache for years 1950 to 2050, Encapsulated PostScript output improvements, and corrections to lunar-date calculation.

The 2.x series expanded language and output support. Version 2.0 added traditional Chinese support for EPS and HTML table output; version 2.1 added traditional or simplified Chinese character-mode output; version 2.3 added UTF-8 output; version 2.4 added XML mode and a sample XSL file; and version 2.5 adopted updated astronomical formulae and corrections.

The project combines calendar software with astronomy code. The official changelog mentions NOVAS-C updates, NASA-published formulae for Delta T, parameters from the second edition of Jean Meeus's Astronomical Algorithms, and corrections based on DE405 for years between 1645 and 2200.

采用历史

ccal's adoption is mostly in Unix package collections where a small, self-contained calendar utility is cheap to preserve. Its shape is simple: a C++ command-line program, a man page, printable/web output formats, and no network service.

The official page also offers a web interface with PNG, JPEG, PDF, and picture-calendar generation, but the downloadable program is the durable packaging target. That split is typical of older personal utility projects: the static site documents both a web convenience layer and the CLI that package managers can actually preserve.

使用方式

The official page says ccal writes a Gregorian calendar together with a Chinese calendar to standard output, with usage similar to the Unix `cal` program. It supports simplified and traditional Chinese characters and can emit console, EPS, HTML table, and XML formats for printable calendars or web pages.

The related ccalpdf shell script creates PDF calendars using Ghostscript on Unix and Cygwin. Typical package use is scripting, printing, or generating do-it-yourself web calendars that need Chinese lunisolar calendar annotations without depending on a hosted API.

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

ccal is a compact example of a culturally specific CLI that package managers keep useful long after its release cadence slows. It is not a broad productivity suite; it is a focused executable for Chinese lunisolar calendar presentation and printable output formats.

It is also a reminder to distinguish official upstream distribution from mirrors. The official project surface is a static chinesebay.com page with source archives and documentation, so the repository field should stay null unless an official source-control URL is verified.

时间线

  • 2000-04-01: version 1.1 added higher-resolution Chinese font output and a 1950-2050 year cache.
  • 2002-03-24: version 2.0 added traditional Chinese support for EPS and HTML table output.
  • 2003-01-29: version 2.2 was released under the GNU General Public License.
  • 2003-10-04: version 2.3 added UTF-8 output for traditional or simplified Chinese.
  • 2006-03-26: version 2.4 added XML mode and a sample XSL file.
  • 2008-07-25: version 2.5 adopted NASA Delta T formulae, updated Meeus parameters, and DE405-based corrections.
  • 2012-03-04: version 2.5.3 incorporated NOVAS-C updates and 64-bit portability fixes.

Related projects

  • NOVAS-C is incorporated for astronomical calculations.
  • NASA Delta T formulae, Jean Meeus's Astronomical Algorithms, and DE405 corrections are cited by the official changelog.
  • Ghostscript is used by the ccalpdf helper script.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本2.5.3
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://ccal.chinesebay.com/ccal/ccal.htm

安装元数据

软件包元数据

软件包键brew:ccal
版本2.5.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ccal
主页https://ccal.chinesebay.com/ccal/ccal.htm
上游文档https://ccal.chinesebay.com/ccal/ccal.1
许可证GPL-2.0-or-later
源码归档https://ccal.chinesebay.com/ccal/ccal-2.5.3.tar.gz
最后更新2026-06-22T07:45:21+02:00
Pulseupdated
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

ccal 4.1-1

Colorised calendar utility

http://unicorn.us.com/cal.html

sudo apt install ccal
  • Section: utils
  • Architecture: amd64
  • Source Package: cal
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ccal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ccal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ccal

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

ccal 4.0-4

Colorised calendar utility

http://unicorn.us.com/cal.html

sudo apt install ccal
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: cal
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ccal
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ccal from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

ccal

sudo port install ccal
  • normalized package name match
  • 匹配方式:Ccal
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/ccal/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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