How To Install notcurses on Rocky Linux 8

In this tutorial we learn how to install notcurses on Rocky Linux 8. notcurses is Character graphics and TUI library

Introduction

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

What is notcurses

Notcurses facilitates the creation of modern TUI programs, making full use of Unicode and 24-bit TrueColor. It presents an API similar to that of Curses, and rides atop Terminfo. This package includes C and C++ shared libraries.

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

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

sudo dnf -y install notcurses

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

sudo yum -y install notcurses

How To Uninstall notcurses on Rocky Linux 8

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

sudo dnf remove notcurses

notcurses Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/c20d2493673522329a0ce15a1505dbcf2ce6dc
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/e3dd6493a3b5ef5c95fc415dbac4b498a47b96
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/f2b039fd2e55271b62618870dde8fe5f8f8c79
/usr/lib64/libnotcurses++.so.2
/usr/lib64/libnotcurses++.so.2.3.9
/usr/lib64/libnotcurses-core.so.2
/usr/lib64/libnotcurses-core.so.2.3.9
/usr/lib64/libnotcurses.so.2
/usr/lib64/libnotcurses.so.2.3.9
/usr/share/doc/notcurses
/usr/share/doc/notcurses/CONTRIBUTING.md
/usr/share/doc/notcurses/CURSES.md
/usr/share/doc/notcurses/HACKING.md
/usr/share/doc/notcurses/HISTORY.md
/usr/share/doc/notcurses/INSTALL.md
/usr/share/doc/notcurses/NEWS.md
/usr/share/doc/notcurses/OTHERS.md
/usr/share/doc/notcurses/README.md
/usr/share/doc/notcurses/TERMINALS.md
/usr/share/doc/notcurses/USAGE.md
/usr/share/licenses/notcurses
/usr/share/licenses/notcurses/COPYRIGHT

References

Summary

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