Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

78.8. newt-0.52.25

Programming library for color text-mode widget UIs (provides libnewt for nmtui)

0.52.25-1 · LGPL-2.0-only · 0.5 SBU · 476.4 KiB, 12 files · 41_system, 194 of 1047 · ports/core/base-libs/newt

Homepage: https://pagure.io/newt

Depends on: slang, popt, python3.

Required by (2): byobu, networkmanager.

Sources: newt-0.52.25.tar.gz (172.6 KiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install newt'

build.sh:

_py=python$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
./configure \
	--prefix=/usr \
	--libdir=/usr/lib \
	--with-python=$_py \
	--without-tcl \
	--without-gpm-support \
	--disable-nls
make -j1
make DESTDIR=$PKG install

Programs: whiptail.

Libraries: libnewt.a, libnewt.so.

Directories: /usr/share/licenses/newt.