How To Install yascreen on Rocky Linux 8

In this tutorial we learn how to install yascreen on Rocky Linux 8. yascreen is Yet Another Screen Library (lib(n)curses alternative)

Introduction

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

What is yascreen

lib(n)curses alternative oriented towards modern terminals. Suitable for developing terminal applications or daemons with telnet access and terminal support. Main features * small footprint * does not have external dependencies * allows both internal and external event loop * allows stdin/stdout or external input/output (can work over socket) * supports basic set of telnet sequences, making it suitable for built-in terminal interfaces for daemons * supports a limited set of input keystroke sequences * fully Unicode compatible (parts of this depend on wcwidth in libc) * supports utf8 verification of input * relies only on a limited subset of ANSI/xterm ESC sequences, making it compatible with mostly all modern terminals (inspired by linenoise) * there is no curses API and ancient terminal compatibility, hence less bloat * clean API with opaque private data, usable from C/C++

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

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

sudo dnf -y install yascreen

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

sudo yum -y install yascreen

How To Uninstall yascreen on Rocky Linux 8

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

sudo dnf remove yascreen

yascreen Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/852ea02addd00bdb613a6b4fb3ce680f03e280
/usr/lib64/libyascreen.so.0
/usr/lib64/libyascreen.so.0.0.0
/usr/share/doc/yascreen
/usr/share/doc/yascreen/README.md
/usr/share/licenses/yascreen
/usr/share/licenses/yascreen/LICENSE

References

Summary

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