How To Install libXdamage-devel on Rocky Linux 8

In this tutorial we learn how to install libXdamage-devel on Rocky Linux 8. libXdamage-devel is Development files for libXdamage

Introduction

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

What is libXdamage-devel

X.Org X11 libXdamage development package.

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

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

sudo dnf -y install libXdamage-devel

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

sudo yum -y install libXdamage-devel

How To Uninstall libXdamage-devel on Rocky Linux 8

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

sudo dnf remove libXdamage-devel

libXdamage-devel Package Contents on Rocky Linux 8

/usr/include/X11/extensions/Xdamage.h
/usr/lib/libXdamage.so
/usr/lib/pkgconfig/xdamage.pc
/usr/include/X11/extensions/Xdamage.h
/usr/lib64/libXdamage.so
/usr/lib64/pkgconfig/xdamage.pc

References

Summary

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