How To Install libinput.i686 on Amazon Linux 2

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

Introduction

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

What is libinput.i686

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

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

sudo yum -y install libinput.i686

How To Uninstall libinput.i686 on Amazon Linux 2

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

sudo yum remove libinput.i686

libinput.i686 Package Contents on Amazon Linux 2

/usr/bin/libinput
/usr/bin/libinput-debug-events
/usr/bin/libinput-list-devices
/usr/lib/libinput.so.10
/usr/lib/libinput.so.10.13.0
/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/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.i686 on Amazon Linux 2 using yum.