How To Install libxkbfile on Rocky Linux 8

In this tutorial we learn how to install libxkbfile on Rocky Linux 8. libxkbfile is X.Org X11 libxkbfile runtime library

Introduction

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

What is libxkbfile

X.Org X11 libxkbfile runtime library

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

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

sudo dnf -y install libxkbfile

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

sudo yum -y install libxkbfile

How To Uninstall libxkbfile on Rocky Linux 8

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

sudo dnf remove libxkbfile

libxkbfile Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/80098b61549baa651bd58db87acd3939e90f2c
/usr/lib/libxkbfile.so.1
/usr/lib/libxkbfile.so.1.0.2
/usr/share/doc/libxkbfile
/usr/share/doc/libxkbfile/COPYING
/usr/share/doc/libxkbfile/ChangeLog
/usr/lib/.build-id
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/705d8f972ab8aca6e9c6ed839d3cf49e88d0fc
/usr/lib64/libxkbfile.so.1
/usr/lib64/libxkbfile.so.1.0.2
/usr/share/doc/libxkbfile
/usr/share/doc/libxkbfile/COPYING
/usr/share/doc/libxkbfile/ChangeLog

References

Summary

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