How To Install libXres on Rocky Linux 8

In this tutorial we learn how to install libXres on Rocky Linux 8. libXres is X-Resource extension client library

Introduction

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

What is libXres

X-Resource is an extension that allows a client to query the X server about its usage of various resources.

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

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

sudo dnf -y install libXres

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

sudo yum -y install libXres

How To Uninstall libXres on Rocky Linux 8

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

sudo dnf remove libXres

libXres Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/94383951eb78239140ee1581392604cfc12d2e
/usr/lib/libXRes.so.1
/usr/lib/libXRes.so.1.0.0
/usr/share/doc/libXres
/usr/share/doc/libXres/AUTHORS
/usr/share/doc/libXres/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/c3360ef0cac29b8356c2853a92ec07b89a6343
/usr/lib64/libXRes.so.1
/usr/lib64/libXRes.so.1.0.0
/usr/share/doc/libXres
/usr/share/doc/libXres/AUTHORS
/usr/share/doc/libXres/COPYING

References

Summary

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