How To Install ncurses-libs on Rocky Linux 8

In this tutorial we learn how to install ncurses-libs on Rocky Linux 8. ncurses-libs is Ncurses libraries

Introduction

In this tutorial we learn how to install ncurses-libs on Rocky Linux 8.

What is ncurses-libs

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 the ncurses libraries.

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

Install ncurses-libs 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-libs using dnf by running the following command:

sudo dnf -y install ncurses-libs

Install ncurses-libs 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-libs using yum by running the following command:

sudo yum -y install ncurses-libs

How To Uninstall ncurses-libs on Rocky Linux 8

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

sudo dnf remove ncurses-libs

ncurses-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/4fac0bdde6997c4839d583d8c80a229feab84b
/usr/lib/.build-id/06
/usr/lib/.build-id/06/fed78ac2fe6a4da48882ca19d71c77d988bedb
/usr/lib/.build-id/12
/usr/lib/.build-id/12/11fb8eb4f4ab5f19357d2dc019029988e877c8
/usr/lib/.build-id/20
/usr/lib/.build-id/20/124bbf052da693069b8f92ea40f9e776db07aa
/usr/lib/.build-id/51
/usr/lib/.build-id/51/25d8f7793d5f8de0e359852a31d359461a0094
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/54d40c75a494223e4aac5b6d45ee9d95779626
/usr/lib/.build-id/67
/usr/lib/.build-id/67/2c039b87e0aa1956a38c0c1a10a23e4138d3f8
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/3719e92523d6251a6d1b4db62fa79e90d9319a
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/61bd8c66f1f5e32e896015f0f04e320b6aeb13
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/2b9a84cc1a2afd43eddc6f97c73cdfaf00e83b
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/27e1616360e68821bd9ad33efb81570c102453
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/78929d708b9d5fc2389d200d9bfbdaeb2f5cff
/usr/lib64/libform.so.6
/usr/lib64/libform.so.6.1
/usr/lib64/libformw.so.6
/usr/lib64/libformw.so.6.1
/usr/lib64/libmenu.so.6
/usr/lib64/libmenu.so.6.1
/usr/lib64/libmenuw.so.6
/usr/lib64/libmenuw.so.6.1
/usr/lib64/libncurses.so.6
/usr/lib64/libncurses.so.6.1
/usr/lib64/libncursesw.so.6
/usr/lib64/libncursesw.so.6.1
/usr/lib64/libpanel.so.6
/usr/lib64/libpanel.so.6.1
/usr/lib64/libpanelw.so.6
/usr/lib64/libpanelw.so.6.1
/usr/lib64/libtic.so.6
/usr/lib64/libtic.so.6.1
/usr/lib64/libtinfo.so.6
/usr/lib64/libtinfo.so.6.1
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/c299506fe26f0d95c20e7e8ba5d0afcfddc151
/usr/lib/.build-id/02
/usr/lib/.build-id/02/1cb73d22e059b7abac196ba16e95f9315de0fd
/usr/lib/.build-id/36
/usr/lib/.build-id/36/cbec140567da44ebc1ce2311c467c829d35488
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/b815923ae4d7c147e8885dc4e0e252449fe94e
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/e7e8bf362175039e06143577943315171e6e75
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/f46d1d9005bc5818b746bf6fcefe6957aeb888
/usr/lib/.build-id/97
/usr/lib/.build-id/97/5e8c198ffa610e9e88367d3813d82a96472a76
/usr/lib/.build-id/af
/usr/lib/.build-id/af/925311fafd803934978871c5265a08584d383b
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/33838976723b274084d0540ca10856c6eb32ee
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/440962d94a6b92a044c01924e898fd72045cee
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/76f086c5a00dd9c64790da1be8f232cdcd9b84
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/068d8d2eb6ec10fd1a79a8fc81adceffb5c5b8
/usr/lib/libform.so.6
/usr/lib/libform.so.6.1
/usr/lib/libformw.so.6
/usr/lib/libformw.so.6.1
/usr/lib/libmenu.so.6
/usr/lib/libmenu.so.6.1
/usr/lib/libmenuw.so.6
/usr/lib/libmenuw.so.6.1
/usr/lib/libncurses.so.6
/usr/lib/libncurses.so.6.1
/usr/lib/libncursesw.so.6
/usr/lib/libncursesw.so.6.1
/usr/lib/libpanel.so.6
/usr/lib/libpanel.so.6.1
/usr/lib/libpanelw.so.6
/usr/lib/libpanelw.so.6.1
/usr/lib/libtic.so.6
/usr/lib/libtic.so.6.1
/usr/lib/libtinfo.so.6
/usr/lib/libtinfo.so.6.1

References

Summary

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