How To Install newt on Fedora 34
Introduction
In this tutorial we learn how to install newt
on Fedora 34.
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. newt 0.52.21 9.fc34 x86_64 101 k newt-0.52.21-9.fc34.src.rpm fedora A library for text mode user interfaces https LGPLv2 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install newt.
Install newt on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install newt
using dnf
by running the following command:
sudo dnf -y install newt
Install newt on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the newt
package we can use the following command:
sudo dnf remove newt
newt Package Contents on Fedora 34
/usr/bin/whiptail
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/a736b0a064a2b982041ace7f0aa9c2c003be06
/usr/lib/.build-id/44
/usr/lib/.build-id/44/1dfbf25b0abee2fc5411a933fd1573c95df234
/usr/lib64/libnewt.so.0.52
/usr/lib64/libnewt.so.0.52.21
/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/03
/usr/lib/.build-id/03/ebe29f05bba8ff9938c38beddbf03eaab1e531
/usr/lib/.build-id/52
/usr/lib/.build-id/52/0171eb7c002e3c059b93671358a87e2cf7055f
/usr/lib/libnewt.so.0.52
/usr/lib/libnewt.so.0.52.21
/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
- [newt website](https://pagure.io/newt https://pagure.io/newt)
Summary
In this tutorial we learn how to install newt
on Fedora 34 using yum and dnf.