# 使用 Homebrew, apt, dnf, MacPorts, Nix 安装 diction

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

## 安装

```sh
sudo av install brew:diction
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install diction
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install diction
```

  证据: MacPorts ports tree: textproc/diction/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install diction
```

  证据: Debian stable package indexes: diction from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install diction
```

  证据: Fedora Rawhide package metadata: diction from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#diction
```

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

## 软件包事实

- **软件包键:** brew:diction
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/diction>
- **版本:** 1.11
- **来源摘要:** GNU diction and style
- **主页:** <https://www.gnu.org/software/diction/>
- **上游文档:** <https://www.gnu.org/software/diction/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/diction/diction-1.11.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- diction (cli)
- style (cli)
- diction (别名)
- style (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.11
- 本地数据: OK
- 上游仓库: https://www.gnu.org/software/diction/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

GNU diction packages two old Unix-style writing aids, diction and style, as free software. The tools scan prose for wordy or commonly misused phrases and report surface readability measures from the command line.

### 项目历史

The GNU source release describes diction and style as free implementations of older standard Unix commands that disappeared from many modern systems after being unbundled. Its manual page says the historical diction command came from old Unix systems and the AT&T Documenter's Workbench, while GNU diction is a reimplementation that can be paired with deroff, dehtml, or detex.

The 1.11 release tarball records support for Dutch, GPLv3 licensing, and autoconf 2.61. The GNU FTP archive shows public GNU releases from 0.7 in 1998 through 1.11 in 2007.

### 采用历史

GNU diction's adoption story is modest and package-manager oriented: it keeps a small, classic prose-checking command available on systems where the original Unix tools are no longer bundled. Its value is strongest for users who like scriptable text filters rather than editor-integrated writing assistants.

### 使用方式

diction reads files or standard input and marks sentences containing phrases from its language databases; style reports readability and other surface characteristics. The manual documents pipelines with deroff for roff documents, and similar use with dehtml or detex for HTML and TeX.

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

The package is a small example of GNU preserving an old Unix userland niche: plain text in, diagnostics out, no service, no account, and no project-local configuration.

### 时间线

- 1997: GNU diction copyright range begins in the 1.11 manual page.
- 1998: diction 0.7 appears in the GNU FTP archive.
- 2007: diction 1.11 is released with Dutch support and GPLv3 licensing.

### Related projects

- AT&T DWB diction/style, deroff, dehtml, detex, and fmt are the closest historical and pipeline neighbors.

### 来源

- <https://www.gnu.org/software/diction>
- <https://git.savannah.gnu.org/cgit/diction.git>
- <https://ftp.gnu.org/gnu/diction/>
- <https://ftp.gnu.org/gnu/diction/diction-1.11.tar.gz>


## 安全说明

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:** diction
- **Aliases:** style
- **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

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

- Debian apt - diction - 1.14-1: normalized package name match | Debian stable package indexes: diction from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utilities to help with style and diction (English and German) | http://www.gnu.org/software/diction/diction.html
- Nix - diction: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/diction/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - diction - 1.14-1: normalized package name match | Ubuntu 24.04 LTS package indexes: diction from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Utilities to help with style and diction (English and German) | http://www.gnu.org/software/diction/diction.html
- dnf - diction - 1.14-14.fc45: normalized package name match | Fedora Rawhide package metadata: diction from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Identifies diction and style errors | http://www.gnu.org/software/diction/diction.html
- MacPorts - diction: normalized package name match | MacPorts ports tree: textproc/diction/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [languagetool](https://pkg.so/zh-hans/brew/languagetool/) - Shares pkgdb curated category or tags: cli, productivity, style-checker, writing.
- [pandemics](https://pkg.so/zh-hans/brew/pandemics/) - Shares pkgdb curated category or tags: cli, productivity, writing.
- [redpen](https://pkg.so/zh-hans/brew/redpen/) - Shares pkgdb curated category or tags: cli, productivity, writing.
- [emacs](https://pkg.so/zh-hans/brew/emacs/) - Shares pkgdb curated category or tags: cli, gnu, productivity.
- [aspell](https://pkg.so/zh-hans/brew/aspell/) - Shares pkgdb curated category or tags: cli, gnu, productivity.
- [a2ps](https://pkg.so/zh-hans/brew/a2ps/) - Shares pkgdb curated category or tags: cli, gnu, productivity.
- [gnu-typist](https://pkg.so/zh-hans/brew/gnu-typist/) - Shares pkgdb curated category or tags: cli, gnu, productivity.
- [wordgrinder](https://pkg.so/zh-hans/brew/wordgrinder/) - Shares pkgdb curated category or tags: cli, productivity, writing.

## Combined YAML source

View the package source record on GitHub. [combined/diction.yml](https://github.com/mxcl/pkgdb/blob/main/combined/diction.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
