Automic VaultAutomic Vault

brew

Install tinycdb with Homebrew, apt, dnf, MacPorts, Nix, pacman

Create and read constant databases. Version 0.81 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tinycdb

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install tinycdb

MacPorts ports tree · databases/tinycdb/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install libcdb-dev

Debian stable package indexes · libcdb-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install tinycdb

Fedora Rawhide package metadata · tinycdb · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#tinycdb

nixpkgs package indexes · pkgs/by-name/ti/tinycdb/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S tinycdb

Arch Linux sync databases · tinycdb · source: geo.mirror.pkgbuild.com

overview

Package summary

Create and read constant databases

Commands and aliases

  • cdb

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:database

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cdbcliglobal executable

freshness

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

page generated2026-07-08
manager version0.81
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.corpit.ru/mjt/tinycdb.html

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://www.corpit.ru/mjt/tinycdb.htmlnone confidence

install metadata

Package metadata

Package keybrew:tinycdb
Version0.81
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tinycdb
Homepagehttps://www.corpit.ru/mjt/tinycdb.html
Upstream docshttps://www.corpit.ru/mjt/tinycdb.html
LicenseLicenseRef-Homebrew-public-domain
Source archivehttps://www.corpit.ru/mjt/tinycdb/tinycdb-0.81.tar.gz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametinycdb
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libcdb-dev 0.81-2

development files for constant databases (cdb)

http://www.corpit.ru/mjt/tinycdb.html

sudo apt install libcdb-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tinycdb
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Tinycdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcdb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcdb1 0.81-2

shared library for constant databases (cdb)

http://www.corpit.ru/mjt/tinycdb.html

sudo apt install libcdb1
  • Section: libs
  • Architecture: amd64
  • Source Package: tinycdb
  • 1 dependencies
  • normalized package name match
  • Matched by: Tinycdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcdb1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tinycdb 0.81-2

utility to manipulate constant databases (cdb)

http://www.corpit.ru/mjt/tinycdb.html

sudo apt install tinycdb
  • Section: utils
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Tinycdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tinycdb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

tinycdb

nix profile install nixpkgs#tinycdb
  • normalized package name match
  • Matched by: Tinycdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ti/tinycdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libcdb-dev 0.81-1build1

development files for constant databases (cdb)

http://www.corpit.ru/mjt/tinycdb.html

sudo apt install libcdb-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tinycdb
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Tinycdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcdb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libcdb1 0.81-1build1

shared library for constant databases (cdb)

http://www.corpit.ru/mjt/tinycdb.html

sudo apt install libcdb1
  • Section: libs
  • Architecture: amd64
  • Source Package: tinycdb
  • 1 dependencies
  • normalized package name match
  • Matched by: Tinycdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcdb1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

tinycdb 0.81-1build1

utility to manipulate constant databases (cdb)

http://www.corpit.ru/mjt/tinycdb.html

sudo apt install tinycdb
  • Section: utils
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Tinycdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tinycdb from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
dnf95%

tinycdb 0.80-6.fc44

Utility and library for manipulating constant databases

http://www.corpit.ru/mjt/tinycdb.html

sudo dnf install tinycdb
  • License: LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tinycdb
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Tinycdb
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tinycdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

tinycdb-devel 0.80-6.fc44

Development files for tinycdb

http://www.corpit.ru/mjt/tinycdb.html

sudo dnf install tinycdb-devel
  • License: LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tinycdb
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Tinycdb
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tinycdb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

tinycdb 0.81-2

Very fast and simple package for creating and reading constant data bases

https://www.corpit.ru/mjt/tinycdb.html

sudo pacman -S tinycdb
  • License: MIT
  • Architecture: x86_64
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tinycdb
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: tinycdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

tinycdb

sudo port install tinycdb
  • normalized package name match
  • Matched by: Tinycdb
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/tinycdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
MacPorts94%

cdb

sudo port install cdb
  • installed executable or alias match
  • Matched by: Cdb
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/cdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

cdb

nix profile install nixpkgs#cdb
  • installed executable or alias match
  • Matched by: Cdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cd/cdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment