How To Install xorg-x11-xkb-utils on Rocky Linux 8

In this tutorial we learn how to install xorg-x11-xkb-utils on Rocky Linux 8. xorg-x11-xkb-utils is X.Org X11 xkb utilities

Introduction

In this tutorial we learn how to install xorg-x11-xkb-utils on Rocky Linux 8.

What is xorg-x11-xkb-utils

X.Org X11 xkb core utilities.

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

Install xorg-x11-xkb-utils 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 xorg-x11-xkb-utils using dnf by running the following command:

sudo dnf -y install xorg-x11-xkb-utils

Install xorg-x11-xkb-utils 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 xorg-x11-xkb-utils using yum by running the following command:

sudo yum -y install xorg-x11-xkb-utils

How To Uninstall xorg-x11-xkb-utils on Rocky Linux 8

To uninstall only the xorg-x11-xkb-utils package we can use the following command:

sudo dnf remove xorg-x11-xkb-utils

xorg-x11-xkb-utils Package Contents on Rocky Linux 8

/usr/bin/setxkbmap
/usr/bin/xkbcomp
/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/cd8cf290105f8f27c33c17bfc8e574621d8402
/usr/lib/.build-id/da
/usr/lib/.build-id/da/85ea4581e855ea51eee2d6643e432e8b076536
/usr/share/man/man1/setxkbmap.1.gz
/usr/share/man/man1/xkbcomp.1.gz

References

Summary

In this tutorial we learn how to install xorg-x11-xkb-utils on Rocky Linux 8 using yum and dnf.