Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, Nix, zypper, apt 安装 newt

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install newt

local Homebrew formula metadata

Linux

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

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

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

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

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

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

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

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

Debian apt已验证 · 92%
sudo apt install libnewt-dev

Debian stable package indexes · libnewt-dev · 来源: deb.debian.org

概览

软件包摘要

Library for color text mode, widget based user interfaces

命令和别名

  • whiptail

历史

项目历史与用法

Newt is a Red Hat-origin text-mode widget library built on S-Lang. It provides stacked windows, entry widgets, checkboxes, radio buttons, labels, text fields, scrollbars, and related primitives for terminal user interfaces. The Homebrew package also exposes whiptail, the shell-friendly dialog-box command built on top of newt.

项目历史

Newt is old Unix/Linux installer plumbing. The upstream README carries Red Hat copyright from 1996 through 2016 and describes the library as a color text-mode widget toolkit based on S-Lang. The long 0.52.x changelog is mostly maintenance: Python binding updates, whiptail layout fixes, translations, compiler fixes, memory-safety fixes, pkg-config support, macOS build fixes, and distribution patch integration.

Whiptail's man page frames the user-facing command: it lets shell scripts present yes/no, menu, input, message, checklist, radiolist, gauge, password, and other dialog boxes. That makes newt less visible than ncurses or dialog, but very sticky in installers, rescue flows, and scripts that inherited whiptail behavior.

采用历史

Newt's adoption came through operating-system tooling rather than developer fashion. It is packaged by Linux distributions and BSD ports because installers, scripts, and legacy admin tools need a small text UI stack. Debian and related systems also preserve whiptail compatibility for scripts that expect dialog-like behavior.

Homebrew analytics reported 247 installs in 30 days, 920 in 90 days, and 3,858 in 365 days for the formula when queried on July 1, 2026. For macOS, this is usually dependency or script compatibility usage rather than developers choosing newt for a new greenfield TUI.

使用方式

Package nerds usually encounter newt indirectly: a dependency needs libnewt, or an installer script invokes whiptail. Direct users write C against libnewt, Python against snack bindings where available, or shell scripts against whiptail when they want dialog boxes without depending on a full GUI.

The practical caution is compatibility. whiptail resembles dialog but is not identical, and scripts often rely on exact option support, output file descriptors, menu formatting, and terminal behavior. That is why small changelog entries about automatic width, unicode, --notags, --noitem, gauges, and resizing matter.

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

Newt is infrastructure glue: old, unglamorous, and still packaged because deleting it breaks installers and shell scripts. In av.db it is important mainly because the executable surface is whiptail and the library is likely a transitive dependency.

时间线

  • 1996: Upstream README copyright begins with Red Hat, marking the project's early Linux distribution roots.
  • 2007-01-31: whiptail man page version line documented Whiptail 0.52.5.
  • 2009: Newt 0.52.11 fixed CVE-2009-2905 according to the changelog.
  • 2025: 0.52.25 was the stable version reported by Homebrew on July 1, 2026.
  • 2026-07-01: Homebrew formula version observed as 0.52.25, with 3,858 formula installs over the preceding 365-day analytics window.

Related projects

  • S-Lang
  • whiptail
  • dialog
  • snack Python bindings
  • Red Hat installer tooling

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 4 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
whiptailcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本0.52.25
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://pagure.io/newt

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://pagure.io/newtnone 置信度

安装元数据

软件包元数据

软件包键brew:newt
版本0.52.25
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/newt
主页https://pagure.io/newt
仓库https://pagure.io/newt
上游文档https://pagure.io/newt
许可证LGPL-2.0-or-later
源码归档https://releases.pagure.org/newt/newt-0.52.25.tar.gz
依赖gettext, popt, python@3.14, s-lang
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenewt
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libnewt-dev 0.52.25-1

Developer's toolkit for newt windowing library

https://pagure.io/newt

sudo apt install libnewt-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: newt
  • 2 依赖
  • normalized package name match
  • 匹配方式:Newt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnewt-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnewt-pic 0.52.25-1

Not Erik's Windowing Toolkit, shared library subset kit

https://pagure.io/newt

sudo apt install libnewt-pic
  • Section: libdevel
  • Architecture: amd64
  • Source Package: newt
  • 1 依赖
  • normalized package name match
  • 匹配方式:Newt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnewt-pic from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnewt0.52 0.52.25-1

Not Erik's Windowing Toolkit - text mode windowing with slang

https://pagure.io/newt

sudo apt install libnewt0.52
  • Section: libs
  • Architecture: amd64
  • Source Package: newt
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Newt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnewt0.52 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

newt-tcl 0.52.25-1

NEWT module for Tcl

https://pagure.io/newt

sudo apt install newt-tcl
  • Section: interpreters
  • Architecture: amd64
  • Source Package: newt
  • 5 依赖
  • normalized package name match
  • 匹配方式:Newt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: newt-tcl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-newt 0.52.25-1

NEWT module for Python3

https://pagure.io/newt

sudo apt install python3-newt
  • Section: python
  • Architecture: amd64
  • Source Package: newt
  • 3 依赖
  • normalized package name match
  • 匹配方式:Newt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-newt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

whiptail 0.52.25-1

Displays user-friendly dialog boxes from shell scripts

https://pagure.io/newt

sudo apt install whiptail
  • Section: utils
  • Architecture: amd64
  • Source Package: newt
  • 4 依赖
  • normalized package name match
  • 匹配方式:Newt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: whiptail from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

newt

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

libnewt-dev 0.52.24-2ubuntu2

Developer's toolkit for newt windowing library

https://pagure.io/newt

sudo apt install libnewt-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: newt
  • 2 依赖
  • normalized package name match
  • 匹配方式:Newt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnewt-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libnewt-pic 0.52.24-2ubuntu2

Not Erik's Windowing Toolkit, shared library subset kit

https://pagure.io/newt

sudo apt install libnewt-pic
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: newt
  • 1 依赖
  • normalized package name match
  • 匹配方式:Newt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnewt-pic from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnewt0.52 0.52.24-2ubuntu2

Not Erik's Windowing Toolkit - text mode windowing with slang

https://pagure.io/newt

sudo apt install libnewt0.52
  • Section: libs
  • Architecture: amd64
  • Source Package: newt
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Newt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnewt0.52 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

newt-tcl 0.52.24-2ubuntu2

NEWT module for Tcl

https://pagure.io/newt

sudo apt install newt-tcl
  • Section: universe/interpreters
  • Architecture: amd64
  • Source Package: newt
  • 5 依赖
  • normalized package name match
  • 匹配方式:Newt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: newt-tcl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-newt 0.52.24-2ubuntu2

NEWT module for Python3

https://pagure.io/newt

sudo apt install python3-newt
  • Section: python
  • Architecture: amd64
  • Source Package: newt
  • 3 依赖
  • normalized package name match
  • 匹配方式:Newt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-newt from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

whiptail 0.52.24-2ubuntu2

Displays user-friendly dialog boxes from shell scripts

https://pagure.io/newt

sudo apt install whiptail
  • Section: utils
  • Architecture: amd64
  • Source Package: newt
  • 4 依赖
  • normalized package name match
  • 匹配方式:Newt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: whiptail from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

newt 0.52.25-r1

Redhat's Newt windowing toolkit development files

https://pagure.io/newt/

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

newt-dev 0.52.25-r1

Redhat's Newt windowing toolkit development files (development files)

https://pagure.io/newt/

sudo apk add newt-dev
  • License: LGPL-2.0-only
  • Architecture: x86_64
  • Source Package: newt
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Newt
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: newt-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

newt-doc 0.52.25-r1

Redhat's Newt windowing toolkit development files (documentation)

https://pagure.io/newt/

sudo apk add newt-doc
  • License: LGPL-2.0-only
  • Architecture: x86_64
  • Source Package: newt
  • normalized package name match
  • 匹配方式:Newt
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: newt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment