macOS
brew install ccallocal Homebrew formula metadata
sudo port install ccalMacPorts ports tree · sysutils/ccal/Portfile · source: api.github.com
brew
Create Chinese calendars for print or browsing. Version 2.5.3 via Homebrew; verified 2026-06-22.
install
brew install ccallocal Homebrew formula metadata
sudo port install ccalMacPorts ports tree · sysutils/ccal/Portfile · source: api.github.com
sudo apt install ccalDebian stable package indexes · ccal · source: deb.debian.org
nix profile install nixpkgs#ccalnixpkgs package indexes · pkgs/by-name/cc/ccal/package.nix · source: api.github.com
overview
Create Chinese calendars for print or browsing
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ccal | cli | global executable | |
ccalpdf | cli | global executable |
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.
https://ccal.chinesebay.com/ccal/ccal.htm
install metadata
| Package key | brew:ccal |
|---|---|
| Version | 2.5.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ccal |
| Homepage | https://ccal.chinesebay.com/ccal/ccal.htm |
| Upstream docs | https://ccal.chinesebay.com/ccal/ccal.1 |
| License | GPL-2.0-or-later |
| Source archive | https://ccal.chinesebay.com/ccal/ccal-2.5.3.tar.gz |
| Last updated | 2026-06-22T07:45:21+02:00 |
| Pulse | updated |
| Bottle | available (on 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 | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ccal |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ccal 4.1-1
Colorised calendar utility
http://unicorn.us.com/cal.html
sudo apt install ccalccal
nix profile install nixpkgs#ccalccal 4.0-4
Colorised calendar utility
http://unicorn.us.com/cal.html
sudo apt install ccalccal
sudo port install ccalsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.