# cdk を Homebrew, dnf, Nix, apt, zypper でインストール

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

## インストール

```sh
sudo av install brew:cdk
```

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

### macOS

- Homebrew (100%):

```sh
brew install cdk
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install cdk
```

  証拠: Fedora Rawhide package metadata: cdk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cdk
```

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

- Debian apt (92%):

```sh
sudo apt install libcdk-java
```

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

- zypper (92%):

```sh
sudo zypper install cdk-devel
```

  証拠: openSUSE Tumbleweed package metadata: cdk-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:cdk
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cdk>
- **バージョン:** 5.0-20260119
- **ソース概要:** Curses development kit provides predefined curses widget for apps
- **ホームページ:** <https://invisible-island.net/cdk/>
- **上流ドキュメント:** <https://invisible-island.net/cdk/>
- **ライセンス:** X11-distribute-modifications-variant
- **ソースアーカイブ:** <https://invisible-mirror.net/archives/cdk/cdk-5.0-20260119.tgz>
- **最終更新:** 2026-05-17T09:02:23-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cdk5-config (cli)
- cdk5-config (エイリアス)

## macOS 提供ライブラリ

- ncurses

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 5.0-20260119
- マネージャ更新日: 2026-05-17
- ローカルデータ: OK
- 上流リポジトリ: https://invisible-island.net/cdk/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

CDK, the Curses Development Kit, is a C curses widget library for building terminal user interfaces. Its official Invisible Island page describes it as a library of customizable curses widgets, similar in spirit to dialog but linked into applications.

### プロジェクトの歴史

The project was originally written by Mike Glover in the mid-1990s. Thomas E. Dickey's official history identifies CDK 4.6.0, with source files dated January 20, 1996, as the earliest version he had encountered and notes that Glover announced it in comp.sources.unix in January 1996.

Dickey became involved after Glover asked in late 1998 about distributing CDK with ncurses. Dickey reviewed the 4.9.8 code, reworked build and licensing issues, continued cleanup work, and released CDK 5.0 in April 2005.

### 採用の歴史

The official history notes that CDK had already been built on several Unix systems, including Linux, SunOS, Solaris, HP-UX, AIX, and QNX 4. It also records ncurses mailing-list discussion from the late 1990s in which CDK was suggested to users wanting a higher-level interface than raw ncurses.

CDK's distribution history is tied to classic Unix source-package culture: comp.sources.unix announcements, QNX-hosted tarballs, ncurses-adjacent maintenance, and ports or packages across Unix-like systems.

### 使われ方

CDK is used when a C program needs form, dialog, menu, scrolling-list, and other terminal widgets without building every curses interaction from scratch. The Homebrew package exposes cdk5-config for build flags and metadata.

### パッケージ好きにとっての重要性

For package maintainers, CDK is interesting because it sits between low-level ncurses and full-screen TUI applications: it is a small library whose portability, ABI, licensing, and configure-script behavior mattered across many Unix packaging systems.

### タイムライン

- 1996: CDK 4.6.0 announced in comp.sources.unix and distributed as source.
- 1998: Mike Glover asks Thomas E. Dickey about distributing CDK with ncurses.
- 1999: Dickey begins cleanup, configure-script work, and license repair.
- 2005: CDK 5.0 released by Dickey.

### Related projects

- CDK is closely related to curses and ncurses, and its official page compares its role to dialog while emphasizing that CDK is a linkable widget library rather than a standalone dialog program.

### ソース

- <https://invisible-island.net/cdk/>
- <https://invisible-island.net/cdk>
- <https://invisible-island.net/cdk/manpage>
- <https://formulae.brew.sh/api/formula/cdk.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:** cdk
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - libcdk-java - 1:2.11-1: normalized package name match | Debian stable package indexes: libcdk-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Chemistry Development Kit (CDK) Java libraries | https://cdk.github.io/
- Nix - cdk: normalized package name match | nixpkgs package indexes: pkgs/by-name/cd/cdk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libcdk-java - 1:2.9-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdk-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Chemistry Development Kit (CDK) Java libraries | https://cdk.github.io/
- dnf - cdk - 5.0.20260119-4.fc45: normalized package name match | Fedora Rawhide package metadata: cdk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Curses Development Kit | https://invisible-island.net/cdk/
- dnf - cdk-devel - 5.0.20260119-4.fc45: normalized package name match | Fedora Rawhide package metadata: cdk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for cdk | https://invisible-island.net/cdk/
- dnf - cdk-doc - 5.0.20260119-4.fc45: normalized package name match | Fedora Rawhide package metadata: cdk-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Documentation and examples for cdk | https://invisible-island.net/cdk/
- zypper - cdk-devel - 5.0.20230201-1.9: normalized package name match | openSUSE Tumbleweed package metadata: cdk-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development Part of Curses Development Kit | https://invisible-island.net/cdk/
- zypper - libcdk6_3_4 - 5.0.20230201-1.9: normalized package name match | openSUSE Tumbleweed package metadata: libcdk6_3_4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The Runtime for the Curses Development Kit - Shared library | https://invisible-island.net/cdk/


## 関連リンク

- [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.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ncurses](https://pkg.so/ja/brew/ncurses/) - Shares pkgdb curated category or tags: c-library, cli, curses, developer-tools, terminal-ui.
- [dialog](https://pkg.so/ja/brew/dialog/) - Shares pkgdb curated category or tags: cli, curses, developer-tools, terminal-ui, widgets.
- [libhandy](https://pkg.so/ja/brew/libhandy/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools, widgets.
- [newt](https://pkg.so/ja/brew/newt/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal-ui, widgets.
- [pcre2](https://pkg.so/ja/brew/pcre2/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [expat](https://pkg.so/ja/brew/expat/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [libgpg-error](https://pkg.so/ja/brew/libgpg-error/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [libevent](https://pkg.so/ja/brew/libevent/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [cdk](https://pkg.so/ja/npm/cdk/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/cdk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cdk.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
