How To Install newt on Rocky Linux 8

In this tutorial we learn how to install newt on Rocky Linux 8. newt is A library for text mode user interfaces

Introduction

In this tutorial we learn how to install newt on Rocky Linux 8.

What is newt

Newt is a programming library for color text mode, widget based user interfaces. Newt can be used to add stacked windows, entry widgets, checkboxes, radio buttons, labels, plain text fields, scrollbars, etc., to text mode user interfaces. This package also contains the shared library needed by programs built with newt, as well as a /usr/bin/dialog replacement called whiptail. Newt is based on the slang library.

We can use yum or dnf to install newt on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install newt.

Install newt on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install newt using dnf by running the following command:

sudo dnf -y install newt

Install newt on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install newt using yum by running the following command:

sudo yum -y install newt

How To Uninstall newt on Rocky Linux 8

To uninstall only the newt package we can use the following command:

sudo dnf remove newt

newt Package Contents on Rocky Linux 8

/usr/bin/whiptail
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/11a66be74960e4a128c4efd54f712f94104214
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/b012e41e539408243df6fdeed759c331a61f5a
/usr/lib/libnewt.so.0.52
/usr/lib/libnewt.so.0.52.20
/usr/share/doc/newt
/usr/share/doc/newt/AUTHORS
/usr/share/doc/newt/CHANGES
/usr/share/doc/newt/COPYING
/usr/share/doc/newt/README
/usr/share/locale/ar/LC_MESSAGES/newt.mo
/usr/share/locale/as/LC_MESSAGES/newt.mo
/usr/share/locale/ast/LC_MESSAGES/newt.mo
/usr/share/locale/bal/LC_MESSAGES/newt.mo
/usr/share/locale/bg/LC_MESSAGES/newt.mo
/usr/share/locale/bn/LC_MESSAGES/newt.mo
/usr/share/locale/bn_IN/LC_MESSAGES/newt.mo
/usr/share/locale/bs/LC_MESSAGES/newt.mo
/usr/share/locale/ca/LC_MESSAGES/newt.mo
/usr/share/locale/cs/LC_MESSAGES/newt.mo
/usr/share/locale/cy/LC_MESSAGES/newt.mo
/usr/share/locale/da/LC_MESSAGES/newt.mo
/usr/share/locale/de/LC_MESSAGES/newt.mo
/usr/share/locale/dz/LC_MESSAGES/newt.mo
/usr/share/locale/el/LC_MESSAGES/newt.mo
/usr/share/locale/eo/LC_MESSAGES/newt.mo
/usr/share/locale/es/LC_MESSAGES/newt.mo
/usr/share/locale/et/LC_MESSAGES/newt.mo
/usr/share/locale/eu/LC_MESSAGES/newt.mo
/usr/share/locale/fa/LC_MESSAGES/newt.mo
/usr/share/locale/fi/LC_MESSAGES/newt.mo
/usr/share/locale/fr/LC_MESSAGES/newt.mo
/usr/share/locale/ga/LC_MESSAGES/newt.mo
/usr/share/locale/gl/LC_MESSAGES/newt.mo
/usr/share/locale/gu/LC_MESSAGES/newt.mo
/usr/share/locale/he/LC_MESSAGES/newt.mo
/usr/share/locale/hi/LC_MESSAGES/newt.mo
/usr/share/locale/hr/LC_MESSAGES/newt.mo
/usr/share/locale/hu/LC_MESSAGES/newt.mo
/usr/share/locale/ia/LC_MESSAGES/newt.mo
/usr/share/locale/id/LC_MESSAGES/newt.mo
/usr/share/locale/it/LC_MESSAGES/newt.mo
/usr/share/locale/ja/LC_MESSAGES/newt.mo
/usr/share/locale/ka/LC_MESSAGES/newt.mo
/usr/share/locale/km/LC_MESSAGES/newt.mo
/usr/share/locale/kn/LC_MESSAGES/newt.mo
/usr/share/locale/ko/LC_MESSAGES/newt.mo
/usr/share/locale/ku/LC_MESSAGES/newt.mo
/usr/share/locale/lt/LC_MESSAGES/newt.mo
/usr/share/locale/lv/LC_MESSAGES/newt.mo
/usr/share/locale/mg/LC_MESSAGES/newt.mo
/usr/share/locale/mk/LC_MESSAGES/newt.mo
/usr/share/locale/ml/LC_MESSAGES/newt.mo
/usr/share/locale/mr/LC_MESSAGES/newt.mo
/usr/share/locale/ms/LC_MESSAGES/newt.mo
/usr/share/locale/nb/LC_MESSAGES/newt.mo
/usr/share/locale/nds/LC_MESSAGES/newt.mo
/usr/share/locale/ne/LC_MESSAGES/newt.mo
/usr/share/locale/nl/LC_MESSAGES/newt.mo
/usr/share/locale/nn/LC_MESSAGES/newt.mo
/usr/share/locale/pa/LC_MESSAGES/newt.mo
/usr/share/locale/pl/LC_MESSAGES/newt.mo
/usr/share/locale/pt/LC_MESSAGES/newt.mo
/usr/share/locale/pt_BR/LC_MESSAGES/newt.mo
/usr/share/locale/ro/LC_MESSAGES/newt.mo
/usr/share/locale/ru/LC_MESSAGES/newt.mo
/usr/share/locale/sk/LC_MESSAGES/newt.mo
/usr/share/locale/sl/LC_MESSAGES/newt.mo
/usr/share/locale/sq/LC_MESSAGES/newt.mo
/usr/share/locale/sr/LC_MESSAGES/newt.mo
/usr/share/locale/sr@latin/LC_MESSAGES/newt.mo
/usr/share/locale/sv/LC_MESSAGES/newt.mo
/usr/share/locale/ta/LC_MESSAGES/newt.mo
/usr/share/locale/te/LC_MESSAGES/newt.mo
/usr/share/locale/tg/LC_MESSAGES/newt.mo
/usr/share/locale/th/LC_MESSAGES/newt.mo
/usr/share/locale/tl/LC_MESSAGES/newt.mo
/usr/share/locale/tr/LC_MESSAGES/newt.mo
/usr/share/locale/uk/LC_MESSAGES/newt.mo
/usr/share/locale/vi/LC_MESSAGES/newt.mo
/usr/share/locale/wo/LC_MESSAGES/newt.mo
/usr/share/locale/xh/LC_MESSAGES/newt.mo
/usr/share/locale/zh_CN/LC_MESSAGES/newt.mo
/usr/share/locale/zh_TW/LC_MESSAGES/newt.mo
/usr/share/man/man1/whiptail.1.gz
/usr/bin/whiptail
/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/3a395bd8176dc698d1685c03a40d5d5cece169
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/15a415498ebcdbbbda525710fb1f544a3dc0e2
/usr/lib64/libnewt.so.0.52
/usr/lib64/libnewt.so.0.52.20
/usr/share/doc/newt
/usr/share/doc/newt/AUTHORS
/usr/share/doc/newt/CHANGES
/usr/share/doc/newt/COPYING
/usr/share/doc/newt/README
/usr/share/locale/ar/LC_MESSAGES/newt.mo
/usr/share/locale/as/LC_MESSAGES/newt.mo
/usr/share/locale/ast/LC_MESSAGES/newt.mo
/usr/share/locale/bal/LC_MESSAGES/newt.mo
/usr/share/locale/bg/LC_MESSAGES/newt.mo
/usr/share/locale/bn/LC_MESSAGES/newt.mo
/usr/share/locale/bn_IN/LC_MESSAGES/newt.mo
/usr/share/locale/bs/LC_MESSAGES/newt.mo
/usr/share/locale/ca/LC_MESSAGES/newt.mo
/usr/share/locale/cs/LC_MESSAGES/newt.mo
/usr/share/locale/cy/LC_MESSAGES/newt.mo
/usr/share/locale/da/LC_MESSAGES/newt.mo
/usr/share/locale/de/LC_MESSAGES/newt.mo
/usr/share/locale/dz/LC_MESSAGES/newt.mo
/usr/share/locale/el/LC_MESSAGES/newt.mo
/usr/share/locale/eo/LC_MESSAGES/newt.mo
/usr/share/locale/es/LC_MESSAGES/newt.mo
/usr/share/locale/et/LC_MESSAGES/newt.mo
/usr/share/locale/eu/LC_MESSAGES/newt.mo
/usr/share/locale/fa/LC_MESSAGES/newt.mo
/usr/share/locale/fi/LC_MESSAGES/newt.mo
/usr/share/locale/fr/LC_MESSAGES/newt.mo
/usr/share/locale/ga/LC_MESSAGES/newt.mo
/usr/share/locale/gl/LC_MESSAGES/newt.mo
/usr/share/locale/gu/LC_MESSAGES/newt.mo
/usr/share/locale/he/LC_MESSAGES/newt.mo
/usr/share/locale/hi/LC_MESSAGES/newt.mo
/usr/share/locale/hr/LC_MESSAGES/newt.mo
/usr/share/locale/hu/LC_MESSAGES/newt.mo
/usr/share/locale/ia/LC_MESSAGES/newt.mo
/usr/share/locale/id/LC_MESSAGES/newt.mo
/usr/share/locale/it/LC_MESSAGES/newt.mo
/usr/share/locale/ja/LC_MESSAGES/newt.mo
/usr/share/locale/ka/LC_MESSAGES/newt.mo
/usr/share/locale/km/LC_MESSAGES/newt.mo
/usr/share/locale/kn/LC_MESSAGES/newt.mo
/usr/share/locale/ko/LC_MESSAGES/newt.mo
/usr/share/locale/ku/LC_MESSAGES/newt.mo
/usr/share/locale/lt/LC_MESSAGES/newt.mo
/usr/share/locale/lv/LC_MESSAGES/newt.mo
/usr/share/locale/mg/LC_MESSAGES/newt.mo
/usr/share/locale/mk/LC_MESSAGES/newt.mo
/usr/share/locale/ml/LC_MESSAGES/newt.mo
/usr/share/locale/mr/LC_MESSAGES/newt.mo
/usr/share/locale/ms/LC_MESSAGES/newt.mo
/usr/share/locale/nb/LC_MESSAGES/newt.mo
/usr/share/locale/nds/LC_MESSAGES/newt.mo
/usr/share/locale/ne/LC_MESSAGES/newt.mo
/usr/share/locale/nl/LC_MESSAGES/newt.mo
/usr/share/locale/nn/LC_MESSAGES/newt.mo
/usr/share/locale/pa/LC_MESSAGES/newt.mo
/usr/share/locale/pl/LC_MESSAGES/newt.mo
/usr/share/locale/pt/LC_MESSAGES/newt.mo
/usr/share/locale/pt_BR/LC_MESSAGES/newt.mo
/usr/share/locale/ro/LC_MESSAGES/newt.mo
/usr/share/locale/ru/LC_MESSAGES/newt.mo
/usr/share/locale/sk/LC_MESSAGES/newt.mo
/usr/share/locale/sl/LC_MESSAGES/newt.mo
/usr/share/locale/sq/LC_MESSAGES/newt.mo
/usr/share/locale/sr/LC_MESSAGES/newt.mo
/usr/share/locale/sr@latin/LC_MESSAGES/newt.mo
/usr/share/locale/sv/LC_MESSAGES/newt.mo
/usr/share/locale/ta/LC_MESSAGES/newt.mo
/usr/share/locale/te/LC_MESSAGES/newt.mo
/usr/share/locale/tg/LC_MESSAGES/newt.mo
/usr/share/locale/th/LC_MESSAGES/newt.mo
/usr/share/locale/tl/LC_MESSAGES/newt.mo
/usr/share/locale/tr/LC_MESSAGES/newt.mo
/usr/share/locale/uk/LC_MESSAGES/newt.mo
/usr/share/locale/vi/LC_MESSAGES/newt.mo
/usr/share/locale/wo/LC_MESSAGES/newt.mo
/usr/share/locale/xh/LC_MESSAGES/newt.mo
/usr/share/locale/zh_CN/LC_MESSAGES/newt.mo
/usr/share/locale/zh_TW/LC_MESSAGES/newt.mo
/usr/share/man/man1/whiptail.1.gz

References

Summary

In this tutorial we learn how to install newt on Rocky Linux 8 using yum and dnf.