# Install tokyo-dystopia with Homebrew

Lightweight full-text search system. Version 0.9.15 via Homebrew; verified from local package data.

## 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
- **Version:** 0.9.15
- **Source summary:** Lightweight full-text search system
- **Homepage:** <https://dbmx.net/tokyodystopia/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.9.15
## 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


## Combined YAML source

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


## Sources

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