# newt mit Homebrew, apk, dnf, Nix, zypper, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für newt in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:newt
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install newt
```

  Evidenz: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add newt
```

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

- dnf (92%):

```sh
sudo dnf install newt
```

  Evidenz: Fedora Rawhide package metadata: newt 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#newt
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/ne/newt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install newt
```

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

- Debian apt (92%):

```sh
sudo apt install libnewt-dev
```

  Evidenz: Debian stable package indexes: libnewt-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Paketfakten

- **Paketschlüssel:** brew:newt
- **Paketmanager:** Homebrew
- **Version:** 0.52.25
- **Quellzusammenfassung:** Library for color text mode, widget based user interfaces
- **Homepage:** <https://pagure.io/newt>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- whiptail (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.52.25
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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

### Quellen

- <https://formulae.brew.sh/api/formula/newt.json>
- <https://github.com/mlichvar/newt>
- <https://raw.githubusercontent.com/mlichvar/newt/master/CHANGES>
- <https://raw.githubusercontent.com/mlichvar/newt/master/README>
- <https://raw.githubusercontent.com/mlichvar/newt/master/whiptail.1>
- <https://www.freshports.org/devel/newt/>


## Sicherheitshinweise

library-like package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- library-like package without higher-risk signals

## Andere Paketmanager-Einträge

- Debian apt - libnewt-dev - 0.52.25-1: normalized package name match | Debian stable package indexes: libnewt-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Developer's toolkit for newt windowing library | https://pagure.io/newt
- Debian apt - libnewt-pic - 0.52.25-1: normalized package name match | Debian stable package indexes: libnewt-pic from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Not Erik's Windowing Toolkit, shared library subset kit | https://pagure.io/newt
- Debian apt - libnewt0.52 - 0.52.25-1: normalized package name match | Debian stable package indexes: libnewt0.52 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Not Erik's Windowing Toolkit - text mode windowing with slang | https://pagure.io/newt
- Debian apt - newt-tcl - 0.52.25-1: normalized package name match | Debian stable package indexes: newt-tcl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NEWT module for Tcl | https://pagure.io/newt
- Debian apt - python3-newt - 0.52.25-1: normalized package name match | Debian stable package indexes: python3-newt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | NEWT module for Python3 | https://pagure.io/newt
- Debian apt - whiptail - 0.52.25-1: normalized package name match | Debian stable package indexes: whiptail from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Displays user-friendly dialog boxes from shell scripts | https://pagure.io/newt
- Nix - newt: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/newt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libnewt-dev - 0.52.24-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libnewt-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Developer's toolkit for newt windowing library | https://pagure.io/newt
- Ubuntu apt - libnewt-pic - 0.52.24-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libnewt-pic from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Not Erik's Windowing Toolkit, shared library subset kit | https://pagure.io/newt
- Ubuntu apt - libnewt0.52 - 0.52.24-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libnewt0.52 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Not Erik's Windowing Toolkit - text mode windowing with slang | https://pagure.io/newt
- Ubuntu apt - newt-tcl - 0.52.24-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: newt-tcl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | NEWT module for Tcl | https://pagure.io/newt
- Ubuntu apt - python3-newt - 0.52.24-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-newt from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | NEWT module for Python3 | https://pagure.io/newt
- Ubuntu apt - whiptail - 0.52.24-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: whiptail from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Displays user-friendly dialog boxes from shell scripts | https://pagure.io/newt
- apk - newt - 0.52.25-r1: normalized package name match | Alpine Linux edge package indexes: newt from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Redhat's Newt windowing toolkit development files | https://pagure.io/newt/
- apk - newt-dev - 0.52.25-r1: normalized package name match | Alpine Linux edge package indexes: newt-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Redhat's Newt windowing toolkit development files (development files) | https://pagure.io/newt/
- apk - newt-doc - 0.52.25-r1: normalized package name match | Alpine Linux edge package indexes: newt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Redhat's Newt windowing toolkit development files (documentation) | https://pagure.io/newt/


## Combined YAML source

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


## Quellen

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