How To Install libXtst on Rocky Linux 8

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

Introduction

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

What is libXtst

X.Org X11 libXtst runtime library

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

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

sudo dnf -y install libXtst

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

sudo yum -y install libXtst

How To Uninstall libXtst on Rocky Linux 8

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

sudo dnf remove libXtst

libXtst Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/b1613ae0c0daa951b72882531db1dd78e39154
/usr/lib/libXtst.so.6
/usr/lib/libXtst.so.6.1.0
/usr/share/doc/libXtst
/usr/share/doc/libXtst/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/d76f02c3d94a01ba90a153f822ff2f68ed4eb1
/usr/lib64/libXtst.so.6
/usr/lib64/libXtst.so.6.1.0
/usr/share/doc/libXtst
/usr/share/doc/libXtst/COPYING

References

Summary

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