How To Install libxkbfile-devel on Rocky Linux 8

In this tutorial we learn how to install libxkbfile-devel on Rocky Linux 8. libxkbfile-devel is X.Org X11 libxkbfile development package

Introduction

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

What is libxkbfile-devel

X.Org X11 libxkbfile development package

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

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

sudo dnf -y install libxkbfile-devel

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

sudo yum -y install libxkbfile-devel

How To Uninstall libxkbfile-devel on Rocky Linux 8

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

sudo dnf remove libxkbfile-devel

libxkbfile-devel Package Contents on Rocky Linux 8

/usr/include/X11/extensions/XKBbells.h
/usr/include/X11/extensions/XKBconfig.h
/usr/include/X11/extensions/XKBfile.h
/usr/include/X11/extensions/XKBrules.h
/usr/include/X11/extensions/XKM.h
/usr/include/X11/extensions/XKMformat.h
/usr/lib/libxkbfile.so
/usr/lib/pkgconfig/xkbfile.pc
/usr/include/X11/extensions/XKBbells.h
/usr/include/X11/extensions/XKBconfig.h
/usr/include/X11/extensions/XKBfile.h
/usr/include/X11/extensions/XKBrules.h
/usr/include/X11/extensions/XKM.h
/usr/include/X11/extensions/XKMformat.h
/usr/lib64/libxkbfile.so
/usr/lib64/pkgconfig/xkbfile.pc

References

Summary

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