How To Install libinput.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libinput.x86_64 in Amazon Linux 2. libinput.x86_64 is Input device library

Introduction

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

What is libinput.x86_64

libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code the user of libinput need to provide the common set of functionality that users expect.

We can use yum to install libinput.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libinput.x86_64.

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

sudo yum -y install libinput.x86_64

How To Uninstall libinput.x86_64 on Amazon Linux 2

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

sudo yum remove libinput.x86_64

libinput.x86_64 Package Contents on Amazon Linux 2

/usr/bin/libinput
/usr/bin/libinput-debug-events
/usr/bin/libinput-list-devices
/usr/lib/udev/hwdb.d/90-libinput-model-quirks.hwdb
/usr/lib/udev/libinput-device-group
/usr/lib/udev/libinput-model-quirks
/usr/lib/udev/rules.d/80-libinput-device-groups.rules
/usr/lib/udev/rules.d/90-libinput-model-quirks.rules
/usr/lib64/libinput.so.10
/usr/lib64/libinput.so.10.13.0
/usr/libexec/libinput
/usr/libexec/libinput/libinput-debug-events
/usr/libexec/libinput/libinput-list-devices
/usr/libexec/libinput/libinput-measure
/usr/libexec/libinput/libinput-measure-touchpad-tap
/usr/share/doc/libinput-1.8.4
/usr/share/doc/libinput-1.8.4/COPYING
/usr/share/man/man1/libinput-debug-events.1.gz
/usr/share/man/man1/libinput-list-devices.1.gz
/usr/share/man/man1/libinput-measure-touchpad-tap.1.gz
/usr/share/man/man1/libinput-measure.1.gz
/usr/share/man/man1/libinput.1.gz

References

Summary

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