How To Install libXres-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libXres-devel.x86_64 in Amazon Linux 2. libXres-devel.x86_64 is Development files for libXres

Introduction

In this tutorial we learn how to install libXres-devel.x86_64 on Amazon Linux 2.

What is libXres-devel.x86_64

X.Org X11 libXres development package

We can use yum to install libXres-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libXres-devel.x86_64.

Install libXres-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libXres-devel.x86_64 using yum by running the following command:

sudo yum -y install libXres-devel.x86_64

How To Uninstall libXres-devel.x86_64 on Amazon Linux 2

To uninstall only the libXres-devel.x86_64 package we can use the following command:

sudo yum remove libXres-devel.x86_64

libXres-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/X11/extensions/XRes.h
/usr/lib64/libXRes.so
/usr/lib64/pkgconfig/xres.pc
/usr/share/man/man3/XRes.3.gz
/usr/share/man/man3/XResQueryClientPixmapBytes.3.gz
/usr/share/man/man3/XResQueryClientResources.3.gz
/usr/share/man/man3/XResQueryClients.3.gz
/usr/share/man/man3/XResQueryExtension.3.gz
/usr/share/man/man3/XResQueryVersion.3.gz

References

Summary

In this tutorial we learn how to install libXres-devel.x86_64 on Amazon Linux 2 using yum.