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

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

## 安装

```sh
sudo av install brew:dialog
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dialog
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dialog
```

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

### Linux

- apk (92%):

```sh
sudo apk add dialog
```

  证据: Alpine Linux edge package indexes: dialog from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dialog
```

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

- dnf (92%):

```sh
sudo dnf install dialog
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dialog
```

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

- pacman (92%):

```sh
sudo pacman -S dialog
```

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

- zypper (92%):

```sh
sudo zypper install dialog
```

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

## 软件包事实

- **软件包键:** brew:dialog
- **软件包管理器:** Homebrew
- **版本:** 1.3-20260721
- **来源摘要:** Display user-friendly message boxes from shell scripts
- **主页:** <https://invisible-island.net/dialog/>
- **最后更新:** 2026-07-23T09:53:29Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dialog (别名)
- dialog-config (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

dialog is the classic curses-based program for showing message boxes, menus, gauges, forms, and other text user-interface widgets from shell scripts.

### 项目历史

The official history traces dialog to Savio Lam's initial 0.1 release on 1993-12-17, when the program had inputbox, msgbox, and yesno options. Through 1994 and 1995, contributors added checklist, menu, textbox, color, shadows, radiolist, gauge, mouse support, and related features.

### 采用历史

dialog became part of Unix installer and system-script culture because shell scripts could ask structured questions without depending on a graphical desktop. The official history notes FreeBSD's fork and its use around sysinstall, and the project page compares related tools such as whiptail, Xdialog, gdialog, zenity, kdialog, and bsddialog.

### 使用方式

The manpage describes dialog as a program that lets scripts present questions or display messages using dialog boxes. Common package-manager users install it so shell scripts can use widgets such as checklist, menu, gauge, inputbox, passwordbox, textbox, and yesno.

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

dialog matters to package people because it is one of the small tools that makes source builds, installers, and distribution scripts feel interactive while still being plain shell. Its long compatibility story explains why many packages also know about whiptail and other dialog-like front ends.

### 时间线

- 1993: dialog 0.1 released by Savio Lam.
- 1994: checklist, menu, color, shadow, radiolist, and gauge-era functionality appeared across early releases and forks.
- 2001: Vincent Stemen sent patches that were folded into ongoing dialog snapshots.
- 2012: dialog 1.2-era widget coverage and compatibility history were documented on the official site.

### Related projects

- Official related and compatibility discussion covers lxdialog, Xdialog, whiptail, gdialog, zenity, kdialog, and bsddialog.

### 来源

- <https://invisible-island.net/dialog/>
- <https://invisible-island.net/dialog/dialog.html>
- <https://invisible-island.net/dialog/manpage/dialog.html>
- <https://invisible-island.net/dialog/CHANGES.html>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation 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: $DIALOGRC, ~/.dialogrc, /etc/dialogrc
## 其他软件包管理器记录

- Debian apt - dialog - 1.3-20250116-1: normalized package name match | Debian stable package indexes: dialog from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Displays user-friendly dialog boxes from shell scripts | https://invisible-island.net/dialog/dialog.html
- Debian apt - libdialog-dev - 1.3-20250116-1: normalized package name match | Debian stable package indexes: libdialog-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Displays user-friendly dialog boxes -- development files | https://invisible-island.net/dialog/dialog.html
- Debian apt - libdialog15 - 1.3-20250116-1: normalized package name match | Debian stable package indexes: libdialog15 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Displays user-friendly dialog boxes -- shared library | https://invisible-island.net/dialog/dialog.html
- Nix - dialog: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/dialog/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dialog - 1.3-20240101-1: normalized package name match | Ubuntu 24.04 LTS package indexes: dialog from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Displays user-friendly dialog boxes from shell scripts | https://invisible-island.net/dialog/dialog.html
- apk - dialog - 1.3.20260107-r1: normalized package name match | Alpine Linux edge package indexes: dialog from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Script interpreter providing curses widgets | https://invisible-island.net/dialog/dialog.html
- apk - dialog-doc - 1.3.20260107-r1: normalized package name match | Alpine Linux edge package indexes: dialog-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Script interpreter providing curses widgets (documentation) | https://invisible-island.net/dialog/dialog.html
- apk - dialog-static - 1.3.20260107-r1: normalized package name match | Alpine Linux edge package indexes: dialog-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Script interpreter providing curses widgets (static library) | https://invisible-island.net/dialog/dialog.html
- dnf - dialog - 1.3-58.20250116.fc45: normalized package name match | Fedora Rawhide package metadata: dialog from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A utility for creating TTY dialog boxes | https://invisible-island.net/dialog/dialog.html
- dnf - dialog-devel - 1.3-58.20250116.fc45: normalized package name match | Fedora Rawhide package metadata: dialog-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for building applications with the dialog library | https://invisible-island.net/dialog/dialog.html
- pacman - dialog - 1:1.3_20260721-1: normalized package name match | Arch Linux sync databases: dialog from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool to display dialog boxes from shell scripts | https://invisible-island.net/dialog/
- zypper - dialog - 1.3-13.5: normalized package name match | openSUSE Tumbleweed package metadata: dialog from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Menus and Input Boxes for Shell Scripts | http://invisible-island.net/dialog/
- zypper - dialog-devel - 1.3-13.5: normalized package name match | openSUSE Tumbleweed package metadata: dialog-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Menus and Input Boxes for Shell Scripts | http://invisible-island.net/dialog/
- zypper - dialog-examples - 1.3-13.5: normalized package name match | openSUSE Tumbleweed package metadata: dialog-examples from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Examples of using dialog tool | http://invisible-island.net/dialog/
- zypper - dialog-lang - 1.3-13.5: normalized package name match | openSUSE Tumbleweed package metadata: dialog-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Translations for package dialog | http://invisible-island.net/dialog/
- zypper - libdialog15 - 1.3-13.5: normalized package name match | openSUSE Tumbleweed package metadata: libdialog15 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Menus and Input Boxes for Shell Scripts | http://invisible-island.net/dialog/


## Combined YAML source

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