How To Install ncurses on Rocky Linux 8
Introduction
In this tutorial we learn how to install ncurses
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ncurses.
Install ncurses 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 ncurses
using dnf
by running the following command:
sudo dnf -y install ncurses
Install ncurses 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 ncurses
using yum
by running the following command:
sudo yum -y install ncurses
How To Uninstall ncurses on Rocky Linux 8
To uninstall only the ncurses
package we can use the following command:
sudo dnf remove ncurses
ncurses Package Contents on Rocky Linux 8
/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/5a
/usr/lib/.build-id/5a/cd2e830d051cd3d2014a836b22f3f4668f73c7
/usr/lib/.build-id/96
/usr/lib/.build-id/96/a9969be8a9ef7b659314ab69342bc402b8e7b9
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/9820a90efadd498d9f0c5f069c94e6e1470cb3
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/62f47b1bd184959e9281df4bef615498175798
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/a7c4f175370090fbb6edf10ab182ac2118d035
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/4760f7b9c0dba925bc1ce46efb5af1f1fc0fa4
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/608c7470038b901d1a8e1100e4e284c2ef03a4
/usr/share/doc/ncurses
/usr/share/doc/ncurses/ANNOUNCE
/usr/share/doc/ncurses/AUTHORS
/usr/share/doc/ncurses/NEWS.bz2
/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 Rocky Linux 8 using yum and dnf.