How To Install libxklavier on Rocky Linux 8

In this tutorial we learn how to install libxklavier on Rocky Linux 8. libxklavier is High-level API for X Keyboard Extension

Introduction

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

What is libxklavier

libxklavier is a library providing a high-level API for the X Keyboard Extension (XKB). This library is intended to support XFree86 and other commercial X servers. It is useful for creating XKB-related software (layout indicators etc).

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

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

sudo dnf -y install libxklavier

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

sudo yum -y install libxklavier

How To Uninstall libxklavier on Rocky Linux 8

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

sudo dnf remove libxklavier

libxklavier Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/1c37a1a0e95ea6aa868401e1dab35579fd13c6
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Xkl-1.0.typelib
/usr/lib/libxklavier.so.16
/usr/lib/libxklavier.so.16.4.0
/usr/share/doc/libxklavier
/usr/share/doc/libxklavier/AUTHORS
/usr/share/doc/libxklavier/COPYING.LIB
/usr/share/doc/libxklavier/NEWS
/usr/share/doc/libxklavier/README
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/0a5d3ad6a41bec5e0c34f626f3f8beb43afb92
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Xkl-1.0.typelib
/usr/lib64/libxklavier.so.16
/usr/lib64/libxklavier.so.16.4.0
/usr/share/doc/libxklavier
/usr/share/doc/libxklavier/AUTHORS
/usr/share/doc/libxklavier/COPYING.LIB
/usr/share/doc/libxklavier/NEWS
/usr/share/doc/libxklavier/README

References

Summary

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