# 使用 Homebrew, apt, MacPorts, Nix, dnf, pacman, zypper 安装 dict

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

## 安装

```sh
sudo av install brew:dict
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dict
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dict
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install dict
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dict
```

  证据: nixpkgs package indexes: dict from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- dnf (92%):

```sh
sudo dnf install dictd
```

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

- pacman (92%):

```sh
sudo pacman -S dictd
```

  证据: Arch Linux sync databases: dictd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dictd
```

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

## 软件包事实

- **软件包键:** brew:dict
- **软件包管理器:** Homebrew
- **版本:** 1.13.3
- **来源摘要:** Dictionary Server Protocol (RFC2229) client
- **主页:** <https://dict.org/bin/Dict>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- colorit (别名)
- dict (别名)
- dict_lookup (别名)
- dictd (别名)
- dictdplugin-config (别名)
- dictfmt (别名)
- dictfmt_index2suffix (别名)
- dictfmt_index2word (别名)
- dictl (别名)
- dictunformat (别名)
- dictzip (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

dict is the command-line client and companion server/tool suite for the DICT Dictionary Server Protocol. It sits in the Unix tradition of small text tools while exposing network dictionary lookup, formatting, compression, and server administration utilities.

### 项目历史

The DICT protocol was published as RFC 2229 in October 1997 to replace older webster-style dictionary access with a TCP query/response protocol that could address multiple dictionary databases through one interface. The dictd source tree carries that protocol lineage into a client, daemon, formatter, dictzip compressor, and supporting tools.

The current public repository describes itself as client/server software, human-language dictionary databases, and tools supporting RFC 2229. Its NEWS file shows long maintenance across Unix-like systems, including 2011 utility additions, 2020 IPv6 support, and a 2023 build-system refresh.

### 采用历史

dict became package-manager material because it gives terminal users a network dictionary client, while also letting administrators run local DICT servers. The upstream README points operators to dict.org mailing lists for release, database, and server-operator discussion, which reflects the project culture around shared dictionary services.

### 使用方式

The client reads server settings from ~/.dictrc or /etc/dict.conf and connects to DICT servers on the RFC port by default. Typical use is direct word lookup, database listing, matching strategies, or using dictd and dictfmt to serve and build dictionaries locally.

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

For package nerds, dict is interesting because it packages a complete protocol ecosystem rather than a single command: CLI client, daemon, database tooling, compression format, sample configs, and a standards document all live close together.

### 时间线

- 1997: RFC 2229 publishes the DICT Dictionary Server Protocol.
- 2011: dict_lookup is added for translating selected words and phrases.
- 2020: dict and dictd gain IPv6 support.
- 2023: dictd 2.0.0 switches to the mk-configure build system.

### Related projects

- RFC 2229, dict.org, dictd, dictfmt, and dictzip form the closely related DICT protocol toolchain.

### 来源

- <https://datatracker.ietf.org/doc/html/rfc2229>
- <https://github.com/cheusov/dictd>
- <https://raw.githubusercontent.com/cheusov/dictd/master/README.pod>
- <https://raw.githubusercontent.com/cheusov/dictd/master/doc/NEWS>
- <https://raw.githubusercontent.com/cheusov/dictd/master/dict/dict.1.in>
- <https://raw.githubusercontent.com/cheusov/dictd/master/dictd/dictd.8.in>


## 安全说明

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

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.dictrc, /etc/dict.conf, /etc/dictd.conf
## 其他软件包管理器记录

- Debian apt - dict - 1.13.1+dfsg-1: normalized package name match | Debian stable package indexes: dict from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dictionary client | https://sourceforge.net/projects/dict/
- Nix - dict: normalized package name match | nixpkgs package indexes: dict from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - dict - 1.13.1+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: dict from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | dictionary client | https://sourceforge.net/projects/dict/
- MacPorts - dict: normalized package name match | MacPorts ports tree: textproc/dict/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - dictd - 1.13.1+dfsg-1: installed executable or alias match | Debian stable package indexes: dictd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dictionary server | https://sourceforge.net/projects/dict/
- Debian apt - dictfmt - 1.13.1+dfsg-1: installed executable or alias match | Debian stable package indexes: dictfmt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | utility to format a file for use by a dictd server | https://sourceforge.net/projects/dict/
- Debian apt - dictzip - 1.13.1+dfsg-1: installed executable or alias match | Debian stable package indexes: dictzip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | compression utility for dictionary databases | https://sourceforge.net/projects/dict/
- Ubuntu apt - dictd - 1.13.1+dfsg-1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: dictd from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | dictionary server | https://sourceforge.net/projects/dict/
- Ubuntu apt - dictfmt - 1.13.1+dfsg-1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: dictfmt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | utility to format a file for use by a dictd server | https://sourceforge.net/projects/dict/
- Ubuntu apt - dictzip - 1.13.1+dfsg-1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: dictzip from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | compression utility for dictionary databases | https://sourceforge.net/projects/dict/
- dnf - dictd - 1.13.3-7.fc45: installed executable or alias match | Fedora Rawhide package metadata: dictd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | DICT protocol (RFC 2229) server and command-line client | http://www.dict.org/
- dnf - dictd-server - 1.13.3-7.fc45: installed executable or alias match | Fedora Rawhide package metadata: dictd-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Server for the Dictionary Server Protocol (DICT) | http://www.dict.org/
- pacman - dictd - 1.13.3-1: installed executable or alias match | Arch Linux sync databases: dictd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Online dictionary client and server | https://sourceforge.net/projects/dict/
- zypper - dictd - 1.13.3+git.1731775346.2b21553-2.5: installed executable or alias match | openSUSE Tumbleweed package metadata: dictd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | DICT protocol (RFC 2229) server and command-line client | https://github.com/cheusov/dictd
- zypper - dictd-devel - 1.13.3+git.1731775346.2b21553-2.5: installed executable or alias match | openSUSE Tumbleweed package metadata: dictd-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for dictd | https://github.com/cheusov/dictd


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
