How To Install libXrender on Rocky Linux 8

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

Introduction

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

What is libXrender

X.Org X11 libXrender runtime library

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

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

sudo dnf -y install libXrender

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

sudo yum -y install libXrender

How To Uninstall libXrender on Rocky Linux 8

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

sudo dnf remove libXrender

libXrender Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/ea784d675073f37ce118215a297203b21bd1ac
/usr/lib/libXrender.so.1
/usr/lib/libXrender.so.1.3.0
/usr/share/doc/libXrender
/usr/share/doc/libXrender/AUTHORS
/usr/share/doc/libXrender/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/e0bd08fb079ab5826855567e65c4875bfb074d
/usr/lib64/libXrender.so.1
/usr/lib64/libXrender.so.1.3.0
/usr/share/doc/libXrender
/usr/share/doc/libXrender/AUTHORS
/usr/share/doc/libXrender/COPYING

References

Summary

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