How To Install libXtst-devel on Rocky Linux 8

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

Introduction

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

What is libXtst-devel

X.Org X11 libXtst development package

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

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

sudo dnf -y install libXtst-devel

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

sudo yum -y install libXtst-devel

How To Uninstall libXtst-devel on Rocky Linux 8

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

sudo dnf remove libXtst-devel

libXtst-devel Package Contents on Rocky Linux 8

/usr/include/X11/extensions/XTest.h
/usr/include/X11/extensions/record.h
/usr/lib/libXtst.so
/usr/lib/pkgconfig/xtst.pc
/usr/share/man/man3/XTestCompareCurrentCursorWithWindow.3.gz
/usr/share/man/man3/XTestCompareCursorWithWindow.3.gz
/usr/share/man/man3/XTestDiscard.3.gz
/usr/share/man/man3/XTestFakeButtonEvent.3.gz
/usr/share/man/man3/XTestFakeKeyEvent.3.gz
/usr/share/man/man3/XTestFakeMotionEvent.3.gz
/usr/share/man/man3/XTestFakeRelativeMotionEvent.3.gz
/usr/share/man/man3/XTestGrabControl.3.gz
/usr/share/man/man3/XTestQueryExtension.3.gz
/usr/share/man/man3/XTestSetGContextOfGC.3.gz
/usr/share/man/man3/XTestSetVisualIDOfVisual.3.gz
/usr/include/X11/extensions/XTest.h
/usr/include/X11/extensions/record.h
/usr/lib64/libXtst.so
/usr/lib64/pkgconfig/xtst.pc
/usr/share/man/man3/XTestCompareCurrentCursorWithWindow.3.gz
/usr/share/man/man3/XTestCompareCursorWithWindow.3.gz
/usr/share/man/man3/XTestDiscard.3.gz
/usr/share/man/man3/XTestFakeButtonEvent.3.gz
/usr/share/man/man3/XTestFakeKeyEvent.3.gz
/usr/share/man/man3/XTestFakeMotionEvent.3.gz
/usr/share/man/man3/XTestFakeRelativeMotionEvent.3.gz
/usr/share/man/man3/XTestGrabControl.3.gz
/usr/share/man/man3/XTestQueryExtension.3.gz
/usr/share/man/man3/XTestSetGContextOfGC.3.gz
/usr/share/man/man3/XTestSetVisualIDOfVisual.3.gz

References

Summary

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