Automic VaultAutomic Vault

brew

Install tkrzw with Homebrew, apt, dnf, Nix

Set of implementations of DBM. Version 1.0.32 via Homebrew; verified 2026-04-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tkrzw

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install libtkrzw-dev

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

Fedora dnfverified · 92%
sudo dnf install tkrzw

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

Nixverified · 92%
nix profile install nixpkgs#tkrzw

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

overview

Package summary

Set of implementations of DBM

Commands and aliases

  • tkrzw_build_util
  • tkrzw_dbm_perf
  • tkrzw_dbm_tran
  • tkrzw_dbm_util
  • tkrzw_file_perf
  • tkrzw_langc_check
  • tkrzw_str_perf
  • tkrzw_ulog_util

history

Project history and usage

Tkrzw is Mikio Hirabayashi's C++17 DBM library: a family of embedded key-value database implementations with command-line utilities, language bindings, and a lineage connected to QDBM, Tokyo Cabinet, and Kyoto Cabinet.

Project history

The official DBMx documentation defines DBM as persistent associative-array storage and presents Tkrzw as a C++ library implementing DBM with multiple algorithms. Its database classes include hash, tree, skip-list, in-memory, cache, standard-library-backed, polymorphic, sharded, asynchronous, and secondary-index implementations.

Tkrzw is explicitly documented as the successor to Kyoto Cabinet, Tokyo Cabinet, and QDBM, but with changed APIs and data formats rather than compatibility with those predecessors. That makes it part of a long-running family of compact embedded key-value stores associated with Hirabayashi's earlier database work.

The repository README points to the DBMx documentation as the main document and documents Unix-like and Windows build paths. The official site emphasizes portability across Unix-like systems and Windows, dependency injection for file implementations, and language interfaces for C, Java, Python, Ruby, and Go.

Adoption history

Tkrzw's adoption is strongest among developers who need an embedded ordered or hash key-value store with predictable local-file behavior rather than a network database. Its package-manager footprint in the supplied facts includes Homebrew, Debian/Ubuntu libtkrzw-dev, Fedora/dnf, and Nix.

The ChangeLog shows sustained maintenance through the 1.0.x series, including interface compatibility notes for Java, Python, Ruby, and Go bindings. Releases in 2021 rapidly expanded durability, direct I/O, page cache, transaction, and update-log capabilities; later releases added search, encryption/compression, index, and C interface improvements.

How it is used

Tkrzw is used as an embedded library by C++ programs and through language bindings when an application wants persistent key-value records in local files. The official documentation describes shared APIs for opening, setting, getting, removing, iterating, processing records atomically, rebuilding, and restoring databases.

The package also ships command-line utilities such as tkrzw_dbm_util and tkrzw_dbm_perf. For package users, these utilities make it inspectable and benchmarkable from the terminal, which is important for comparing DBM engines and debugging file-based stores.

Why package nerds care

Tkrzw is significant because it continues a recognizable lineage of Japanese DBM libraries that have long appeared in Unix packaging systems. It is the modern C++17 member of a family package maintainers may remember from QDBM, Tokyo Cabinet, Kyoto Cabinet, and Kyoto Tycoon.

It is also a package-nerd kind of database: not a service to supervise, but a library plus CLI tools whose value depends on headers, pkg-config metadata, language bindings, ABI versioning, and careful release packaging.

Timeline

  • 2021-05: ChangeLog shows rapid 0.9.x releases adding direct I/O, page cache, transaction, and recovery work.
  • 2021-09: ChangeLog shows update-log and message-queue utilities added around the 1.0.14 release.
  • 2023-03: ChangeLog lists 1.0.27 with AES encryption support in the compressor path.
  • 2024-10-22: ChangeLog lists release 1.0.32 and library version 1.75.0.

Related projects

  • QDBM, Tokyo Cabinet, and Kyoto Cabinet are the documented predecessors whose lineage Tkrzw succeeds without API or data-format compatibility.
  • Tkrzw-RPC is the related DBMx service for sharing Tkrzw databases over gRPC.
  • tkrzw-java, tkrzw-python, tkrzw-ruby, and tkrzw-go are separately packaged language interfaces named by the official documentation and ChangeLog.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.

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
tkrzw_build_utilcliglobal executable
tkrzw_dbm_perfcliglobal executable
tkrzw_dbm_trancliglobal executable
tkrzw_dbm_utilcliglobal executable
tkrzw_file_perfcliglobal executable
tkrzw_langc_checkcliglobal executable
tkrzw_str_perfcliglobal executable
tkrzw_ulog_utilcliglobal 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 version1.0.32
manager updated2026-04-19
local dataok
upstreamnot checked
latest detectednot detected

https://dbmx.net/tkrzw/

install metadata

Package metadata

Package keybrew:tkrzw
Version1.0.32
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tkrzw
Homepagehttps://dbmx.net/tkrzw/
Repositoryhttps://github.com/estraier/tkrzw
Upstream docshttps://dbmx.net/tkrzw
LicenseApache-2.0
Source archivehttps://dbmx.net/tkrzw/pkg/tkrzw-1.0.32.tar.gz
Last updated2026-04-19T03:01:26Z
Pulseupdated
Dependencieslz4, xz, zstd
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametkrzw
Version Scheme0
Revision0
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%

libtkrzw-dev 1.0.32-1+b1

set of implementations of DBM - development headers

https://dbmx.net/tkrzw/

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

libtkrzw1t64 1.0.32-1+b1

set of implementations of DBM - shared library

https://dbmx.net/tkrzw/

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

tkrzw-doc 1.0.32-1

set of implementation of DBM - docs

https://dbmx.net/tkrzw/

sudo apt install tkrzw-doc
  • Section: doc
  • Architecture: all
  • Source Package: tkrzw
  • normalized package name match
  • Matched by: Tkrzw
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tkrzw-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tkrzw-utils 1.0.32-1+b1

set of implementations of DBM - utilities

https://dbmx.net/tkrzw/

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

tkrzw

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

libtkrzw-dev 1.0.27-1.1build1

set of implementations of DBM - development headers

https://dbmx.net/tkrzw/

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

libtkrzw1t64 1.0.27-1.1build1

set of implementations of DBM - shared library

https://dbmx.net/tkrzw/

sudo apt install libtkrzw1t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: tkrzw
  • 7 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tkrzw
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtkrzw1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

tkrzw-doc 1.0.27-1.1build1

set of implementation of DBM - docs

https://dbmx.net/tkrzw/

sudo apt install tkrzw-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: tkrzw
  • normalized package name match
  • Matched by: Tkrzw
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tkrzw-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

tkrzw-utils 1.0.27-1.1build1

set of implementations of DBM - utilities

https://dbmx.net/tkrzw/

sudo apt install tkrzw-utils
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: tkrzw
  • 4 dependencies
  • normalized package name match
  • Matched by: Tkrzw
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tkrzw-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

tkrzw 1.0.32-3.fc44

A straightforward implementation of DBM

https://dbmx.net/tkrzw/

sudo dnf install tkrzw
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tkrzw
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tkrzw
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tkrzw from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

tkrzw-devel 1.0.32-3.fc44

Development files for Tkrzw

https://dbmx.net/tkrzw/

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

tkrzw-doc 1.0.32-3.fc44

Tkrzw API documentation

https://dbmx.net/tkrzw/

sudo dnf install tkrzw-doc
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: tkrzw
  • 1 provides
  • normalized package name match
  • Matched by: Tkrzw
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tkrzw-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

tkrzw-libs 1.0.32-3.fc44

Libraries for applications using Tkrzw

https://dbmx.net/tkrzw/

sudo dnf install tkrzw-libs
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tkrzw
  • 10 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Tkrzw
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tkrzw-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

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