How To Install libXcursor.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libXcursor.x86_64 in Amazon Linux 2. libXcursor.x86_64 is Cursor management library

Introduction

In this tutorial we learn how to install libXcursor.x86_64 on Amazon Linux 2.

What is libXcursor.x86_64

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 to install libXcursor.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libXcursor.x86_64.

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

sudo yum -y install libXcursor.x86_64

How To Uninstall libXcursor.x86_64 on Amazon Linux 2

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

sudo yum remove libXcursor.x86_64

libXcursor.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libXcursor.so.1
/usr/lib64/libXcursor.so.1.0.2
/usr/share/doc/libXcursor-1.1.15
/usr/share/doc/libXcursor-1.1.15/AUTHORS
/usr/share/doc/libXcursor-1.1.15/COPYING
/usr/share/doc/libXcursor-1.1.15/README
/usr/share/icons/default
/usr/share/icons/default/index.theme

References

Summary

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