# 使用 Homebrew 安装 tokyo-cabinet

查看 tokyo-cabinet 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

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

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:tokyo-cabinet
- **软件包管理器:** Homebrew
- **版本:** 1.4.48
- **来源摘要:** Lightweight database library
- **主页:** <https://dbmx.net/tokyocabinet/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.4.48
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

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

### 来源

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


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Combined YAML source

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


## 来源

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