# Installer tinycdb avec Homebrew, apt, dnf, MacPorts, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de tinycdb pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install tinycdb
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tinycdb
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:tinycdb
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.81
- **Résumé source:** Create and read constant databases
- **Page d'accueil:** <https://www.corpit.ru/mjt/tinycdb.html>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cdb (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.81
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

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


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Autres enregistrements de gestionnaires de paquets

- 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)


## Sources

- 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
