# Install tokyo-cabinet with Homebrew

Lightweight database library. Version 1.4.48 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:tokyo-cabinet
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tokyo-cabinet
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:tokyo-cabinet
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tokyo-cabinet>
- **Version:** 1.4.48
- **Source summary:** Lightweight database library
- **Homepage:** <https://dbmx.net/tokyocabinet/>
- **Upstream docs:** <https://dbmx.net/tokyocabinet>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://dbmx.net/tokyocabinet/tokyocabinet-1.4.48.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- tcamgr (cli)
- tcamttest (cli)
- tcatest (cli)
- tcbmgr (cli)
- tcbmttest (cli)
- tcbtest (cli)
- tcfmgr (cli)
- tcfmttest (cli)
- tcftest (cli)
- tchmgr (cli)
- tchmttest (cli)
- tchtest (cli)
- tctmgr (cli)
- tctmttest (cli)
- tcttest (cli)
- tcucodec (cli)
- tcumttest (cli)
- tcutest (cli)
- tcamgr (alias)
- tcamttest (alias)
- tcatest (alias)
- tcbmgr (alias)
- tcbmttest (alias)
- tcbtest (alias)
- tcfmgr (alias)
- tcfmttest (alias)
- tcftest (alias)
- tchmgr (alias)
- tchmttest (alias)
- tchtest (alias)
- tctmgr (alias)
- tctmttest (alias)
- tcttest (alias)
- tcucodec (alias)
- tcumttest (alias)
- tcutest (alias)

## Uses from macOS

- bzip2

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.4.48
- Local data: ok
- Upstream repository: https://dbmx.net/tokyocabinet/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Tokyo Cabinet is FAL Labs' C library for embedded database files, positioned by its official documentation as a modern DBM implementation and a successor to GDBM and QDBM. It stores key/value records in hash tables, B+ trees, fixed-length arrays, and a table-style database, with no separate server required.

### Project history

The project page carries a 2006-2011 FAL Labs copyright notice and the fundamental specification carries a 2006-2010 notice, with the public page last updated on 2010-08-05. The official overview says Tokyo Cabinet was written and maintained by FAL Labs and developed to improve space efficiency, time efficiency, multithreaded parallelism, usability, robustness, and 64-bit support over earlier DBM products.

The specification is unusually explicit about Tokyo Cabinet's DBM lineage: it compares the API to UNIX DBM/NDBM/GDBM access methods, says Tokyo Cabinet is an alternative for DBM because of higher performance, and lists restrictions of traditional DBM and QDBM that Tokyo Cabinet removed. That makes it part of the classic Unix embedded-database family rather than the later networked NoSQL-server lineage.

### Adoption history

Official documentation says Tokyo Cabinet shipped C, Perl, Ruby, Java, and Lua APIs, ran on C99/POSIX platforms, and provided source packages while directing binary-package users to distributors. The Homebrew formula reflects that distributor adoption: package managers kept it available for developers who needed the library and its command-line inspection/test tools long after the upstream page had become mostly archival.

### How it is used

The documented install flow is the standard source-package sequence: `./configure`, `make`, `make check`, and `make install`. The installed payload includes headers, `libtokyocabinet`, pkg-config metadata, many `tc*` command-line programs, man pages, and API docs; the specification says those command-line interfaces are useful for prototyping, testing, and debugging.

In practical package-manager use, Tokyo Cabinet is the sort of dependency installed because another program wants a compact embedded key/value store, or because a developer wants direct access to `tchmgr`, `tcbmgr`, `tctmgr`, and related tools for inspecting hash, B+ tree, fixed, table, and abstract database files.

### Why package nerds care

Tokyo Cabinet matters to package nerds because it sits at the intersection of old Unix DBM culture and the late-2000s key/value-store boom: tiny C library, source tarballs, pkg-config file, language bindings, and many CLI utilities. It also spawned or sat beside a recognizable Tokyo/FAL Labs ecosystem, including Tokyo Tyrant for remote service, Tokyo Dystopia for full-text search, Tokyo Promenade, Kyoto Cabinet, and later Tkrzw.

### Timeline

- 2006: Official copyright range begins for Tokyo Cabinet.
- 2010: Official pages last updated and latest source package listed as 1.4.48.
- 2011: Official project page copyright range ends.
- Current: Upstream page recommends Tkrzw as a more powerful and convenient successor.

### Related projects

- The official page names Tokyo Tyrant, Tokyo Dystopia, Tokyo Promenade, and Kyoto Cabinet as sibling projects, and recommends Tkrzw as a later successor. The specification also frames Tokyo Cabinet as a successor to GDBM and QDBM.

### Sources

- <https://dbmx.net/tokyocabinet>
- <https://dbmx.net/tokyocabinet/spex-en.html>
- source_facts.executables
- source_facts.package-manager


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tokyo-cabinet
- **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


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [duc](https://www.automicvault.com/pkg/brew/duc/) - Popular package that depends on this formula.
- [grok](https://www.automicvault.com/pkg/brew/grok/) - Popular package that depends on this formula.
- [tokyo-dystopia](https://www.automicvault.com/pkg/brew/tokyo-dystopia/) - Popular package that depends on this formula.
- [qdbm](https://www.automicvault.com/pkg/brew/qdbm/) - Shares av.db curated category or tags: c-library, cli, data, database, dbm.
- [tkrzw](https://www.automicvault.com/pkg/brew/tkrzw/) - Shares av.db curated category or tags: cli, data, database, dbm, embedded-database.
- [rocksdb](https://www.automicvault.com/pkg/brew/rocksdb/) - Shares av.db curated category or tags: cli, data, database, databases, embedded-database.
- [cdb](https://www.automicvault.com/pkg/brew/cdb/) - Shares av.db curated category or tags: cli, data, database, databases, key-value-store.
- [h2](https://www.automicvault.com/pkg/brew/h2/) - Shares av.db curated category or tags: cli, data, database, databases, embedded-database.
- [keydb](https://www.automicvault.com/pkg/brew/keydb/) - Shares av.db curated category or tags: cli, data, database, databases, key-value-store.
- [leveldb](https://www.automicvault.com/pkg/brew/leveldb/) - Shares av.db curated category or tags: cli, data, database, databases, key-value-store.
- [tdb](https://www.automicvault.com/pkg/brew/tdb/) - Shares av.db curated category or tags: c-library, cli, data, database, embedded-database.
- [kyoto-cabinet](https://www.automicvault.com/pkg/brew/kyoto-cabinet/) - Local metadata places this package in an adjacent workflow. Shared terms: cabinet, cli, data, database, dbm.

## Combined YAML source

View the package source record on GitHub. [combined/tokyo-cabinet.yml](https://github.com/automic-vault/db/blob/main/combined/tokyo-cabinet.yml)


## Sources

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