# 使用 Homebrew, Nix, zypper 安装 distribution

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

## 安装

```sh
sudo av install brew:distribution
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install distribution
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#distribution
```

  证据: nixpkgs package indexes: pkgs/by-name/di/distribution/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install distribution-registry
```

  证据: openSUSE Tumbleweed package metadata: distribution-registry from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:distribution
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/distribution>
- **版本:** 1.3
- **来源摘要:** Create ASCII graphical histograms in the terminal
- **主页:** <https://github.com/time-less-ness/distribution>
- **仓库:** <https://github.com/time-less-ness/distribution>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/time-less-ness/distribution/archive/refs/tags/1.3.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- distribution (cli)
- distribution (别名)

## macOS 提供的库

- python

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.3
- 本地数据: OK
- 上游仓库: https://github.com/time-less-ness/distribution
- 检测到的最新版本: 1.3 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

distribution is a terminal histogram and graphing tool for turning command output into character-based charts. Its appeal is the old Unix habit of inserting one small filter into a pipeline to make text data easier to inspect.

### 项目历史

The README says the original scripts were written in Perl and Python by Tim Ellis, then expanded beyond simple frequency histograms into time-series and arbitrary x-axis graphs. The current canonical README also records a project-control transfer from the previous maintainer to wizzat.

### 采用历史

distribution's own installation notes mention Homebrew as the simple install route, while the input package facts show availability in Brew and Nix. That is modest adoption, but enough to place it in the family of small terminal data-inspection packages.

### 使用方式

The common pattern is to pipe a list, count stream, syslog slice, process list, or du output into distribution and let it render a proportional ASCII or Unicode chart. It supports tokenization, pre-aggregated key/value input, numeric-only graphs, colors, terminal-size aware output, and an rcfile for preferred defaults.

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

distribution is package-nerdy because it makes ad hoc shell observability friendlier without asking users to leave the terminal or produce a heavyweight plot. It is the kind of tiny data tool that survives in package managers because it composes with everything.

### 时间线

- 2017: Current canonical GitHub repository created.
- 2017: README records transfer of project control to the wizzat distribution repository.
- 2022: Repository metadata shows continued maintenance activity into the early 2020s.

### Related projects

- The README names holman's spark as a related compact graphing project, contrasting spark's smaller output with distribution's more verbose higher-resolution charts.
- Standard Unix tools such as sort, uniq, du, awk, and ps are common upstream producers for distribution pipelines.

### 来源

- <https://github.com/time-less-ness/distribution#readme>
- <https://api.github.com/repos/time-less-ness/distribution>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- Nix - distribution: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/distribution/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - distribution-registry - 3.1.1-4.2: normalized package name match | openSUSE Tumbleweed package metadata: distribution-registry from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Registry server following OCI Distribution Specification | https://github.com/distribution/distribution


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pixd](https://pkg.so/zh-hans/brew/pixd/) - Shares pkgdb curated category or tags: cli, data, terminal, visualization.
- [opensearch-dashboards](https://pkg.so/zh-hans/brew/opensearch-dashboards/) - Shares pkgdb curated category or tags: cli, data, visualization.
- [csvlens](https://pkg.so/zh-hans/brew/csvlens/) - Shares pkgdb curated category or tags: cli, data, terminal.
- [visidata](https://pkg.so/zh-hans/brew/visidata/) - Shares pkgdb curated category or tags: cli, data, terminal.
- [rainfrog](https://pkg.so/zh-hans/brew/rainfrog/) - Shares pkgdb curated category or tags: cli, data, terminal.
- [iredis](https://pkg.so/zh-hans/brew/iredis/) - Shares pkgdb curated category or tags: cli, data, terminal.
- [spark](https://pkg.so/zh-hans/brew/spark/) - Shares pkgdb curated category or tags: cli, data, terminal.
- [yozefu](https://pkg.so/zh-hans/brew/yozefu/) - Shares pkgdb curated category or tags: cli, data, terminal.
- [webtreemap](https://pkg.so/zh-hans/npm/webtreemap/) - Local package facts share a topical domain. Shared terms: cli, data, visualization.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
