# tinycdb を Homebrew, apt, dnf, MacPorts, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:tinycdb
```

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

### macOS

- Homebrew (100%):

```sh
brew install tinycdb
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tinycdb
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install tinycdb
```

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

- dnf (92%):

```sh
sudo dnf install tinycdb
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#tinycdb
```

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

- pacman (92%):

```sh
sudo pacman -S tinycdb
```

  証拠: Arch Linux sync databases: tinycdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:tinycdb
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.81
- **ソース概要:** Create and read constant databases
- **ホームページ:** <https://www.corpit.ru/mjt/tinycdb.html>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cdb (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.81
## プロジェクトの歴史と使われ方

TinyCDB is Michael Tokarev's small C library and command-line utility for creating, reading, querying, and dumping constant databases. Its official page describes it as compatible to a great extent with Dan J. Bernstein's cdb-0.75 package while offering a smaller, single-library implementation.

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

The project belongs to the cdb lineage: Bernstein introduced the constant database data structure, and TinyCDB reimplemented that model with a single libcdb library, one cdb utility, a cleaner opaque-structure API, lower memory requirements during creation, and compatibility interfaces for cdb-0.75 and older cdb APIs.

### 採用の歴史

The official page recommends Debian users install through the standard apt repository and mentions RPM packaging support. The batch input records packages for Homebrew, Debian/Ubuntu libcdb-dev, Fedora, MacPorts, Nix, and Arch, which matches TinyCDB's role as a small system library shipped by OS package sets.

### 使われ方

TinyCDB is used when a mostly static set of key/value records should be rebuilt atomically and queried quickly. The official examples highlight indexing large user lists such as passwd-like data, and the included cdb utility covers creation, querying, dumping, and conversion from cdbmake-style input.

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

TinyCDB matters to package nerds because it is a classic small-C Unix component: public-domain-to-MIT licensing, a stable ABI-style header and library, a single CLI utility, and broad distro packaging. It is the kind of dependency that appears under mail, authentication, lookup, and other low-level packages that want cdb files without a heavier database.

### タイムライン

- 2001: Copyright range on the official page begins.
- 2023: Version 0.81 changed the license text from public domain wording to MIT.
- 2023: Version 0.81 was released on 25 Dec 2023.

### Related projects

- TinyCDB is directly related to Dan J. Bernstein's cdb package and compares its API niche with Berkeley DB, gdbm, and traditional Unix dbm/ndbm libraries.

### ソース

- <https://www.corpit.ru/mjt/tinycdb.html>
- source_facts.package-manager


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

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

- Debian apt - libcdb-dev - 0.81-2: normalized package name match | Debian stable package indexes: libcdb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for constant databases (cdb) | http://www.corpit.ru/mjt/tinycdb.html
- Debian apt - libcdb1 - 0.81-2: normalized package name match | Debian stable package indexes: libcdb1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared library for constant databases (cdb) | http://www.corpit.ru/mjt/tinycdb.html
- Debian apt - tinycdb - 0.81-2: normalized package name match | Debian stable package indexes: tinycdb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | utility to manipulate constant databases (cdb) | http://www.corpit.ru/mjt/tinycdb.html
- Nix - tinycdb: normalized package name match | nixpkgs package indexes: pkgs/by-name/ti/tinycdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libcdb-dev - 0.81-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | development files for constant databases (cdb) | http://www.corpit.ru/mjt/tinycdb.html
- Ubuntu apt - libcdb1 - 0.81-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdb1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | shared library for constant databases (cdb) | http://www.corpit.ru/mjt/tinycdb.html
- Ubuntu apt - tinycdb - 0.81-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: tinycdb from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | utility to manipulate constant databases (cdb) | http://www.corpit.ru/mjt/tinycdb.html
- dnf - tinycdb - 0.80-7.fc45: normalized package name match | Fedora Rawhide package metadata: tinycdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Utility and library for manipulating constant databases | http://www.corpit.ru/mjt/tinycdb.html
- dnf - tinycdb-devel - 0.80-7.fc45: normalized package name match | Fedora Rawhide package metadata: tinycdb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for tinycdb | http://www.corpit.ru/mjt/tinycdb.html
- pacman - tinycdb - 0.81-2: normalized package name match | Arch Linux sync databases: tinycdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Very fast and simple package for creating and reading constant data bases | https://www.corpit.ru/mjt/tinycdb.html
- MacPorts - tinycdb: normalized package name match | MacPorts ports tree: databases/tinycdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- MacPorts - cdb: installed executable or alias match | MacPorts ports tree: databases/cdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - cdb: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/cd/cdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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