How To Install libevdev on Rocky Linux 8
Introduction
In this tutorial we learn how to install libevdev
on Rocky Linux 8.
What is libevdev
libevdev is a library to wrap kernel evdev devices and provide a proper API to interact with those devices.
We can use yum
or dnf
to install libevdev
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libevdev.
Install libevdev 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
using dnf
by running the following command:
sudo dnf -y install libevdev
Install libevdev 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
using yum
by running the following command:
sudo yum -y install libevdev
How To Uninstall libevdev on Rocky Linux 8
To uninstall only the libevdev
package we can use the following command:
sudo dnf remove libevdev
libevdev Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/83
/usr/lib/.build-id/83/dd6aceae0a745d26bb895a1772369ef03e32d2
/usr/lib/libevdev.so.2
/usr/lib/libevdev.so.2.3.0
/usr/share/doc/libevdev
/usr/share/doc/libevdev/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/c80efa8fde431f4dd94ddf3f86dd69e813e8cc
/usr/lib64/libevdev.so.2
/usr/lib64/libevdev.so.2.3.0
/usr/share/doc/libevdev
/usr/share/doc/libevdev/COPYING
References
Summary
In this tutorial we learn how to install libevdev
on Rocky Linux 8 using yum and dnf.