How To Install libXext on Rocky Linux 8

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

Introduction

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

What is libXext

X.Org X11 libXext runtime library

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

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

sudo dnf -y install libXext

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

sudo yum -y install libXext

How To Uninstall libXext on Rocky Linux 8

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

sudo dnf remove libXext

libXext Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/35472c03b66a18c3dd2bbecd4b910840c1bae9
/usr/lib64/libXext.so.6
/usr/lib64/libXext.so.6.4.0
/usr/share/doc/libXext
/usr/share/doc/libXext/AUTHORS
/usr/share/doc/libXext/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/82fde9f4c4e2724b238d1884543b4e20265e4a
/usr/lib/libXext.so.6
/usr/lib/libXext.so.6.4.0
/usr/share/doc/libXext
/usr/share/doc/libXext/AUTHORS
/usr/share/doc/libXext/COPYING

References

Summary

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