How To Install libevdev-devel on Rocky Linux 8

In this tutorial we learn how to install libevdev-devel on Rocky Linux 8. libevdev-devel is Kernel Evdev Device Wrapper Library Development Package

Introduction

In this tutorial we learn how to install libevdev-devel on Rocky Linux 8.

What is libevdev-devel

Kernel Evdev Device Wrapper Library Development Package.

We can use yum or dnf to install libevdev-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libevdev-devel.

Install libevdev-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libevdev-devel using dnf by running the following command:

sudo dnf -y install libevdev-devel

Install libevdev-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libevdev-devel using yum by running the following command:

sudo yum -y install libevdev-devel

How To Uninstall libevdev-devel on Rocky Linux 8

To uninstall only the libevdev-devel package we can use the following command:

sudo dnf remove libevdev-devel

libevdev-devel Package Contents on Rocky Linux 8

/usr/include/libevdev-1.0
/usr/include/libevdev-1.0/libevdev
/usr/include/libevdev-1.0/libevdev/libevdev-uinput.h
/usr/include/libevdev-1.0/libevdev/libevdev.h
/usr/lib/libevdev.so
/usr/lib/pkgconfig/libevdev.pc
/usr/share/man/man3/libevdev.3.gz
/usr/include/libevdev-1.0
/usr/include/libevdev-1.0/libevdev
/usr/include/libevdev-1.0/libevdev/libevdev-uinput.h
/usr/include/libevdev-1.0/libevdev/libevdev.h
/usr/lib64/libevdev.so
/usr/lib64/pkgconfig/libevdev.pc
/usr/share/man/man3/libevdev.3.gz

References

Summary

In this tutorial we learn how to install libevdev-devel on Rocky Linux 8 using yum and dnf.