How To Install ncurses on Fedora 36

In this tutorial we learn how to install ncurses in Fedora 36. ncurses is Ncurses support utilities

Introduction

In this tutorial we learn how to install ncurses on Fedora 36.

What is ncurses

The curses library routines are a terminal-independent method of updating character screens with reasonable optimization. The ncurses (new curses) library is a freely distributable replacement for the discontinued 4.4 BSD classic curses library. This package contains support utilities, including a terminfo compiler tic, a decompiler infocmp, clear, tput, tset, and a termcap conversion tool captoinfo.

We can use yum or dnf to install ncurses on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ncurses.

Install ncurses on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ncurses

Install ncurses on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ncurses

How To Uninstall ncurses on Fedora 36

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

sudo dnf remove ncurses

ncurses Package Contents on Fedora 36

/usr/bin/captoinfo
/usr/bin/clear
/usr/bin/infocmp
/usr/bin/infotocap
/usr/bin/reset
/usr/bin/tabs
/usr/bin/tic
/usr/bin/toe
/usr/bin/tput
/usr/bin/tset
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/401d69abcd58e709ffe6ec243d2154c45f66ba
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/dc696aec0fac102089095b462ca8a92ef672e4
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/e5adc1ed32b59d831b1b52bd336f0c84f8b893
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/5efd0a590cfa40ad55ca83e402f2d4457a0b0f
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/fd3ed5e058bb6ee88e2516d320250a2f163a2d
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/ba9e25186cac00401c272685d367f84194d834
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/8b57d734d6b9448da883ed9bd26920b5492247
/usr/share/doc/ncurses
/usr/share/doc/ncurses/ANNOUNCE
/usr/share/doc/ncurses/AUTHORS
/usr/share/doc/ncurses/NEWS.xz
/usr/share/doc/ncurses/README
/usr/share/doc/ncurses/TO-DO
/usr/share/man/man1/captoinfo.1m.gz
/usr/share/man/man1/clear.1.gz
/usr/share/man/man1/infocmp.1m.gz
/usr/share/man/man1/infotocap.1m.gz
/usr/share/man/man1/reset.1.gz
/usr/share/man/man1/tabs.1.gz
/usr/share/man/man1/tic.1m.gz
/usr/share/man/man1/toe.1m.gz
/usr/share/man/man1/tput.1.gz
/usr/share/man/man1/tset.1.gz
/usr/share/man/man5/scr_dump.5.gz
/usr/share/man/man5/term.5.gz
/usr/share/man/man5/terminfo.5.gz
/usr/share/man/man5/user_caps.5.gz
/usr/share/man/man7/term.7.gz

References

Summary

In this tutorial we learn how to install ncurses on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).