pkg.soopen package index

brew / 排名 1778

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install zenity

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install zenity

MacPorts ports tree · gnome/zenity/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add zenity

Alpine Linux edge package indexes · zenity · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install zenity

Debian stable package indexes · zenity · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install zenity

Fedora Rawhide package metadata · zenity · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#zenity

nixpkgs package indexes · pkgs/by-name/ze/zenity/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S zenity

Arch Linux sync databases · zenity · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install zenity

openSUSE Tumbleweed package metadata · zenity · 来源: download.opensuse.org

概览

软件包摘要

GTK+ dialog boxes for the command-line

命令和别名

  • zenity

历史

项目历史与用法

Zenity is GNOME's command-line bridge to GTK dialogs, letting shell scripts and other CLI workflows ask users questions, show progress, choose files, and display desktop notifications without writing a full graphical application.

项目历史

Zenity descends from GNOME's `gdialog` lineage. The GNOME README calls it the GNOME port of the venerable `dialog` program, while older BLFS documentation for Zenity 2.6.2 described it as a rewrite of gdialog, itself the GNOME port of dialog for displaying GTK+ dialog boxes from command-line scripts.

The old GNOME 2 era packaging already shipped both `gdialog` and `zenity`, with `gdialog` kept as a wrapper for legacy scripts. The modern repository still carries that role forward but has moved with the GNOME platform: the README identifies Zenity as part of GNOME Extra Apps and lists GTK 4 and libadwaita as current dependencies.

Because its purpose is deliberately small, Zenity has stayed stable in concept for decades: a CLI command that turns script state into desktop UI. Its evolution is mostly GNOME toolkit migration, option compatibility, and the set of supported dialog types.

采用历史

Zenity became widely adopted because it solved a packaging and scripting problem that neither pure terminal tools nor full GUI frameworks solved cleanly: a shell script could request desktop input using a standard GNOME/GTK utility. That made it attractive for installers, admin scripts, small desktop helpers, and distribution glue.

The supplied package data shows Zenity available across Homebrew, Debian, Ubuntu, Fedora, Alpine, MacPorts, Nix, Arch, and openSUSE-family packaging. That breadth reflects both its age and its continued usefulness as a tiny dependency for desktop-facing shell workflows.

使用方式

Common usage is direct from shell scripts: `zenity --info`, `--warning`, `--question`, `--entry`, `--file-selection`, `--progress`, `--list`, `--calendar`, and similar options show GTK dialogs and return either exit status or selected/input data to stdout.

Zenity is especially useful where a package maintainer or script author wants a lightweight graphical prompt without adding a bespoke GUI. It is less useful on headless systems or non-GTK desktop environments unless the needed display and runtime stack are present.

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

Zenity is a classic package-nerd utility because it sits at the boundary between CLI automation and desktop integration. It is often installed not because users launch it directly, but because scripts and packages want a standard, cross-language way to display GTK dialogs.

It is also a reminder that small desktop commands have long compatibility tails. The `gdialog` wrapper, old GNOME 2 documentation, modern GTK/libadwaita migration, and broad distro packaging all show how a tiny CLI can persist as infrastructure.

时间线

  • GNOME 2 era: Zenity appears as the rewrite/replacement for gdialog while retaining a gdialog wrapper for legacy scripts.
  • 2004: BLFS 5.1 documents Zenity 2.6.2 as a GNOME additional package for command-line GTK dialogs.
  • 2020s: GNOME repository identifies Zenity as a GNOME Extra Apps project using GTK 4 and libadwaita.
  • 2022: Oracle Solaris man page documents the broad Zenity/gdialog option set, including file selection, progress, list, forms, calendar, and notification dialogs.

Related projects

  • dialog is the text-mode dialog program that inspired the GNOME/GTK lineage.
  • gdialog is Zenity's predecessor and legacy wrapper name.
  • KDialog provides a comparable script-facing dialog tool in KDE environments.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
zenity可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本4.2.2
管理器更新时间2026-07-07
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:zenity
版本4.2.2
软件包管理器Homebrew
主页https://gitlab.gnome.org/GNOME/zenity
最后更新2026-07-07T14:59:01Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

zenity 4.1.90-1

Display graphical dialog boxes from shell scripts

https://wiki.gnome.org/Projects/Zenity

sudo apt install zenity
  • Section: gnome
  • Architecture: amd64
  • 6 依赖
  • normalized package name match
  • 匹配方式:Zenity
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zenity from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zenity-common 4.1.90-1

Display graphical dialog boxes from shell scripts (common files)

https://wiki.gnome.org/Projects/Zenity

sudo apt install zenity-common
  • Section: gnome
  • Architecture: all
  • Source Package: zenity
  • normalized package name match
  • 匹配方式:Zenity
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zenity-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

zenity

nix profile install nixpkgs#zenity
  • normalized package name match
  • 匹配方式:Zenity
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ze/zenity/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

zenity 4.0.1-1build3

Display graphical dialog boxes from shell scripts

https://wiki.gnome.org/Projects/Zenity

sudo apt install zenity
  • Section: gnome
  • Architecture: amd64
  • 6 依赖
  • normalized package name match
  • 匹配方式:Zenity
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zenity from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

zenity-common 4.0.1-1build3

Display graphical dialog boxes from shell scripts (common files)

https://wiki.gnome.org/Projects/Zenity

sudo apt install zenity-common
  • Section: gnome
  • Architecture: all
  • Source Package: zenity
  • normalized package name match
  • 匹配方式:Zenity
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zenity-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

zenity 4.2.2-r0

Display dialog boxes from the command line and shell scripts

https://gitlab.gnome.org/GNOME/zenity

sudo apk add zenity
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: zenity
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zenity
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zenity from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

zenity-dbg 4.2.2-r0

Display dialog boxes from the command line and shell scripts (debug symbols)

https://gitlab.gnome.org/GNOME/zenity

sudo apk add zenity-dbg
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: zenity
  • 1 依赖
  • normalized package name match
  • 匹配方式:Zenity
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zenity-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

zenity-doc 4.2.2-r0

Display dialog boxes from the command line and shell scripts (documentation)

https://gitlab.gnome.org/GNOME/zenity

sudo apk add zenity-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: zenity
  • normalized package name match
  • 匹配方式:Zenity
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zenity-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

zenity-lang 4.2.2-r0

Languages for package zenity

https://gitlab.gnome.org/GNOME/zenity

sudo apk add zenity-lang
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: zenity
  • normalized package name match
  • 匹配方式:Zenity
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zenity-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

zenity 4.2.2-5.fc45

Display dialog boxes from shell scripts

https://wiki.gnome.org/Projects/Zenity

sudo dnf install zenity
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: zenity
  • 9 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Zenity
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zenity from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

zenity 4.2.2-1

Display graphical dialog boxes from shell scripts

https://gitlab.gnome.org/GNOME/zenity

sudo pacman -S zenity
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • 7 依赖
  • normalized package name match
  • 匹配方式:Zenity
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: zenity from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

zenity 4.2.2-1.4

GNOME Command Line Dialog Utility

https://wiki.gnome.org/Projects/Zenity

sudo zypper install zenity
  • License: LGPL-2.1-or-later
  • Category: System/GUI/GNOME
  • Architecture: x86_64
  • Source Package: zenity
  • 7 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Zenity
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: zenity from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

zenity-lang 4.2.2-1.4

Translations for package zenity

https://wiki.gnome.org/Projects/Zenity

sudo zypper install zenity-lang
  • License: LGPL-2.1-or-later
  • Category: System/Localization
  • Architecture: noarch
  • Source Package: zenity
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Zenity
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: zenity-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

zenity

sudo port install zenity
  • normalized package name match
  • 匹配方式:Zenity
MacPorts ports tree · api.github.com · MacPorts ports tree: gnome/zenity/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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