# Install tokyo-dystopia with Homebrew

Lightweight full-text search system. Version 0.9.15 via Homebrew; verified 2026-04-18.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tokyo-dystopia
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:tokyo-dystopia
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tokyo-dystopia>
- **Version:** 0.9.15
- **Source summary:** Lightweight full-text search system
- **Homepage:** <https://dbmx.net/tokyodystopia/>
- **Upstream docs:** <https://dbmx.net/tokyodystopia>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://dbmx.net/tokyodystopia/tokyodystopia-0.9.15.tar.gz>
- **Last updated:** 2026-04-18T21:36:21-04:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- dystmgr (cli)
- dysttest (cli)
- lapumgr (cli)
- laputest (cli)
- tcqmgr (cli)
- tcqtest (cli)
- tcwmgr (cli)
- tcwtest (cli)
- dystmgr (alias)
- dysttest (alias)
- lapumgr (alias)
- laputest (alias)
- tcqmgr (alias)
- tcqtest (alias)
- tcwmgr (alias)
- tcwtest (alias)

## Dependencies

- tokyo-cabinet

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.9.15
- Package-manager updated: 2026-04-18
- Local data: ok
- Upstream repository: https://dbmx.net/tokyodystopia/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Tokyo Dystopia is FAL Labs' lightweight full-text search system, documented as a C99/POSIX, LGPL-licensed package for searching large sets of records by specified patterns. It complements Tokyo Cabinet by adding full-text indexing and search-oriented APIs rather than general key/value storage.

### Project history

The official page carries a 2007-2010 FAL Labs copyright notice and was last updated on 2010-08-05. It describes Tokyo Dystopia as written and maintained by FAL Labs, and the specification says installation requires the latest Tokyo Cabinet first, making Dystopia part of the same FAL Labs database-tool family.

### Adoption history

The documented distribution model mirrors Tokyo Cabinet: upstream source packages, with binary packages handled by distributors. In Homebrew and similar package-manager contexts, that made Tokyo Dystopia a niche but useful package for developers who wanted an embeddable full-text search library and CLI tools without deploying a larger search server.

### How it is used

The official specification documents `./configure`, `make`, `make check`, and `make install`, producing headers, `libtokyodystopia`, pkg-config metadata, command-line tools such as `dystmgr`, `tcqmgr`, `tcwmgr`, and `lapumgr`, and CGI helpers. Its core model stores indexed text records and supports phrase, prefix, suffix, token, and character N-gram search, with Unicode-oriented multilingual support.

### Why package nerds care

Tokyo Dystopia is significant in the package-nerd niche because it packages a late-2000s search engine as a small Unix library/toolkit: it depends on Tokyo Cabinet, installs many focused binaries, and exposes enough low-level pieces for scripting, experiments, and embedded search features.

### Timeline

- 2007: Official copyright range begins for Tokyo Dystopia.
- 2010: Official page last updated and latest source package listed as 0.9.15.
- Current: Homebrew still identifies it as a lightweight full-text search system.

### Related projects

- Tokyo Dystopia is directly related to Tokyo Cabinet, which the official installation instructions require. It belongs to the FAL Labs Tokyo family alongside Tokyo Cabinet and Tokyo Tyrant.

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tokyo-dystopia
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [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.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [tokyo-cabinet](https://www.automicvault.com/pkg/brew/tokyo-cabinet/) - Runtime dependency declared by Homebrew.
- [hyperestraier](https://www.automicvault.com/pkg/brew/hyperestraier/) - Shares av.db curated category or tags: cli, data, full-text-search, search, search-engine.
- [groonga](https://www.automicvault.com/pkg/brew/groonga/) - Shares av.db curated category or tags: cli, data, full-text-search, search, search-engine.
- [manticoresearch](https://www.automicvault.com/pkg/brew/manticoresearch/) - Shares av.db curated category or tags: cli, data, full-text-search, search, search-engine.
- [meilisearch](https://www.automicvault.com/pkg/brew/meilisearch/) - Shares av.db curated category or tags: cli, data, full-text-search, search, search-engine.
- [omega](https://www.automicvault.com/pkg/brew/omega/) - Shares av.db curated category or tags: cli, data, search, search-engine.
- [opensearch](https://www.automicvault.com/pkg/brew/opensearch/) - Shares av.db curated category or tags: cli, data, search, search-engine.
- [pgroonga](https://www.automicvault.com/pkg/brew/pgroonga/) - Shares av.db curated category or tags: cli, data, full-text-search, search.
- [sonic](https://www.automicvault.com/pkg/brew/sonic/) - Shares av.db curated category or tags: cli, data, full-text-search, search.

## Combined YAML source

View the package source record on GitHub. [combined/tokyo-dystopia.yml](https://github.com/automic-vault/db/blob/main/combined/tokyo-dystopia.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
