How To Install libXcursor on AlmaLinux 8

In this tutorial we learn how to install libXcursor in AlmaLinux 8. libXcursor is Cursor management library

Introduction

In this tutorial we learn how to install libXcursor on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libXcursor.

Install libXcursor on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove libXcursor

References

Summary

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