How To Install libinput-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libinput-devel.x86_64 in Amazon Linux 2. libinput-devel.x86_64 is Development files for libinput

Introduction

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

What is libinput-devel.x86_64

The libinput-devel package contains libraries and header files for developing applications that use libinput.

We can use yum to install libinput-devel.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-devel.x86_64.

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

sudo yum -y install libinput-devel.x86_64

How To Uninstall libinput-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libinput-devel.x86_64

libinput-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libinput.h
/usr/lib64/libinput.so
/usr/lib64/pkgconfig/libinput.pc

References

Summary

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