How To Install yascreen on Fedora 34

yascreen is Yet Another Screen Library (lib(n)curses alternative) Yet Another Screen Library (lib(n)curses alternative)

Introduction

In this tutorial we learn how to install yascreen on Fedora 34.

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++ yascreen 1.85 3.fc34 x86_64 35 k yascreen-1.85-3.fc34.src.rpm fedora Yet Another Screen Library (lib(n)curses alternative) https LGPLv3 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install yascreen.

Install yascreen on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install yascreen using dnf by running the following command:

sudo dnf -y install yascreen

Install yascreen on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove yascreen

yascreen Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/e38dfb4b95cd8a4cbe9d87f814be20b62c97f1
/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
/usr/lib/.build-id
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/fc7977c655e5d1e4668a5ce7537207d46a9f29
/usr/lib/libyascreen.so.0
/usr/lib/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 Fedora 34 using yum and dnf.