# ccal を Homebrew, apt, MacPorts, Nix でインストール

ccal のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ccal
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ccal
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ccal
```

  証拠: MacPorts ports tree: sysutils/ccal/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install ccal
```

  証拠: Debian stable package indexes: ccal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#ccal
```

  証拠: nixpkgs package indexes: pkgs/by-name/cc/ccal/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:ccal
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ccal>
- **バージョン:** 2.5.3
- **ソース概要:** Create Chinese calendars for print or browsing
- **ホームページ:** <https://ccal.chinesebay.com/ccal/ccal.htm>
- **上流ドキュメント:** <https://ccal.chinesebay.com/ccal/ccal.htm>
- **ライセンス:** GPL-2.0-or-later
- **ソースアーカイブ:** <https://ccal.chinesebay.com/ccal/ccal-2.5.3.tar.gz>
- **最終更新:** 2026-06-22T07:45:21+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- ccal (cli)
- ccalpdf (cli)
- ccal (エイリアス)
- ccalpdf (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.5.3
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://ccal.chinesebay.com/ccal/ccal.htm
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://ccal.chinesebay.com/ccal/ccal.1>
- <https://ccal.chinesebay.com/ccal/ccal.htm>
- <https://formulae.brew.sh/api/formula/ccal.json>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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:** stable

## 他のパッケージマネージャ記録

- Debian apt - ccal - 4.1-1: normalized package name match | Debian stable package indexes: ccal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Colorised calendar utility | http://unicorn.us.com/cal.html
- Nix - ccal: normalized package name match | nixpkgs package indexes: pkgs/by-name/cc/ccal/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ccal - 4.0-4: normalized package name match | Ubuntu 24.04 LTS package indexes: ccal from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Colorised calendar utility | http://unicorn.us.com/cal.html
- MacPorts - ccal: normalized package name match | MacPorts ports tree: sysutils/ccal/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://pkg.so/ja/web-dev-tools/) - Matched web development metadata.
- [pcal](https://pkg.so/ja/brew/pcal/) - Shares pkgdb curated category or tags: calendar, cli, postscript, productivity.
- [gogcli](https://pkg.so/ja/brew/gogcli/) - Shares pkgdb curated category or tags: calendar, cli, productivity.
- [marp-cli](https://pkg.so/ja/brew/marp-cli/) - Shares pkgdb curated category or tags: cli, html, productivity.
- [ical-buddy](https://pkg.so/ja/brew/ical-buddy/) - Shares pkgdb curated category or tags: calendar, cli, productivity.
- [gcalcli](https://pkg.so/ja/brew/gcalcli/) - Shares pkgdb curated category or tags: calendar, cli, productivity.
- [vdirsyncer](https://pkg.so/ja/brew/vdirsyncer/) - Shares pkgdb curated category or tags: calendar, cli, productivity.
- [a2ps](https://pkg.so/ja/brew/a2ps/) - Shares pkgdb curated category or tags: cli, postscript, productivity.
- [remind](https://pkg.so/ja/brew/remind/) - Shares pkgdb curated category or tags: calendar, cli, productivity.
- [fop](https://pkg.so/ja/brew/fop/) - Local package facts share a topical domain. Shared terms: cli, or, postscript, print, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/ccal.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ccal.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
