How To Install yascreen on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install yascreen on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install yascreen.

Install yascreen on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove yascreen

References

Summary

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