How To Install libtermkey on Rocky Linux 8

In this tutorial we learn how to install libtermkey on Rocky Linux 8. libtermkey is Library for easy processing of keyboard entry from terminal-based programs

Introduction

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

What is libtermkey

This library allows easy processing of keyboard entry from terminal-based programs. It handles all the necessary logic to recognise special keys, UTF-8 combining, and so on, with a simple interface.

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

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

sudo dnf -y install libtermkey

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

sudo yum -y install libtermkey

How To Uninstall libtermkey on Rocky Linux 8

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

sudo dnf remove libtermkey

libtermkey Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/76
/usr/lib/.build-id/76/be94894692bb0dce2049e6811b36220c81f0d3
/usr/lib64/libtermkey.so.1
/usr/lib64/libtermkey.so.1.14.0
/usr/share/licenses/libtermkey
/usr/share/licenses/libtermkey/LICENSE

References

Summary

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