How To Install libXcursor on Rocky Linux 8

In this tutorial we learn how to install libXcursor on Rocky Linux 8. libXcursor is Cursor management library

Introduction

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

What is libXcursor

This is a simple library designed to help locate and load cursors. Cursors can be loaded from files or memory. A library of common cursors exists which map to the standard X cursor names.Cursors can exist in several sizes and the library automatically picks the best size.

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

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

sudo dnf -y install libXcursor

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

sudo yum -y install libXcursor

How To Uninstall libXcursor on Rocky Linux 8

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

sudo dnf remove libXcursor

libXcursor Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/d5f3210c1594a780f8a9ff04ab38524132897c
/usr/lib/libXcursor.so.1
/usr/lib/libXcursor.so.1.0.2
/usr/share/doc/libXcursor
/usr/share/doc/libXcursor/AUTHORS
/usr/share/doc/libXcursor/COPYING
/usr/share/doc/libXcursor/README
/usr/share/icons/default
/usr/share/icons/default/index.theme
/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/bf999c218c31093f865bbaf7f74d5716f35ccf
/usr/lib64/libXcursor.so.1
/usr/lib64/libXcursor.so.1.0.2
/usr/share/doc/libXcursor
/usr/share/doc/libXcursor/AUTHORS
/usr/share/doc/libXcursor/COPYING
/usr/share/doc/libXcursor/README
/usr/share/icons/default
/usr/share/icons/default/index.theme

References

Summary

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