How To Install libinput on Rocky Linux 8
Introduction
In this tutorial we learn how to install libinput
on Rocky Linux 8.
What is libinput
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
or dnf
to install libinput
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libinput.
Install libinput 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 libinput
using dnf
by running the following command:
sudo dnf -y install libinput
Install libinput 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 libinput
using yum
by running the following command:
sudo yum -y install libinput
How To Uninstall libinput on Rocky Linux 8
To uninstall only the libinput
package we can use the following command:
sudo dnf remove libinput
libinput Package Contents on Rocky Linux 8
/usr/bin/libinput
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/2b6bffe79341a6a01d2025f34bb1224ecda68b
/usr/lib/.build-id/26
/usr/lib/.build-id/26/442edc8d14bceefdb16b00bf6f63d14c8b101e
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/9395276b6bc182ffd756290722443a61dd025f
/usr/lib/.build-id/54
/usr/lib/.build-id/54/3a8f11d526f9b3420811b0b73106db6b22a0ed
/usr/lib/.build-id/88
/usr/lib/.build-id/88/be987cc848a32eb8a43acca772cd99860577c4
/usr/lib/.build-id/de
/usr/lib/.build-id/de/ccc620a7ebc64fa4d4408ca91d5952659ff727
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/6cc63ad8dac2aa3ea8bbab32c87c3917e0d0e7
/usr/lib/udev/libinput-device-group
/usr/lib/udev/libinput-fuzz-extract
/usr/lib/udev/libinput-fuzz-to-zero
/usr/lib/udev/rules.d/80-libinput-device-groups.rules
/usr/lib/udev/rules.d/90-libinput-fuzz-override.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/share/doc/libinput
/usr/share/doc/libinput/COPYING
/usr/share/libinput/10-generic-keyboard.quirks
/usr/share/libinput/10-generic-lid.quirks
/usr/share/libinput/10-generic-trackball.quirks
/usr/share/libinput/30-vendor-aiptek.quirks
/usr/share/libinput/30-vendor-alps.quirks
/usr/share/libinput/30-vendor-contour.quirks
/usr/share/libinput/30-vendor-cypress.quirks
/usr/share/libinput/30-vendor-elantech.quirks
/usr/share/libinput/30-vendor-ibm.quirks
/usr/share/libinput/30-vendor-kensington.quirks
/usr/share/libinput/30-vendor-logitech.quirks
/usr/share/libinput/30-vendor-madcatz.quirks
/usr/share/libinput/30-vendor-microsoft.quirks
/usr/share/libinput/30-vendor-razer.quirks
/usr/share/libinput/30-vendor-synaptics.quirks
/usr/share/libinput/30-vendor-trust.quirks
/usr/share/libinput/30-vendor-vmware.quirks
/usr/share/libinput/30-vendor-wacom.quirks
/usr/share/libinput/50-system-acer.quirks
/usr/share/libinput/50-system-apple.quirks
/usr/share/libinput/50-system-asus.quirks
/usr/share/libinput/50-system-chicony.quirks
/usr/share/libinput/50-system-cyborg.quirks
/usr/share/libinput/50-system-dell.quirks
/usr/share/libinput/50-system-google.quirks
/usr/share/libinput/50-system-hp.quirks
/usr/share/libinput/50-system-lenovo.quirks
/usr/share/libinput/50-system-sony.quirks
/usr/share/libinput/50-system-system76.quirks
/usr/share/libinput/50-system-toshiba.quirks
/usr/share/man/man1/libinput-debug-events.1.gz
/usr/share/man/man1/libinput-list-devices.1.gz
/usr/share/man/man1/libinput.1.gz
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_libinput
/usr/bin/libinput
/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/faeb2fff31d3e4ff7d24d6d47f891bcd5cb1f1
/usr/lib/.build-id/98
/usr/lib/.build-id/98/3726ef8496ab8bd3cbc5e535709279b2e80584
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/c5301a4ad7d582b9014346b211c6c9963dd68c
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/563ae39384c6067f0b43a7b0d5c813d55e7bbf
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/0715caeafb8f95fe675090b282b25aa45b28ad
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/6165dc720d7342575b8a6213435a72c66edd08
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/1042bba5b443e2eb66982851f4b0d1e0193509
/usr/lib/libinput.so.10
/usr/lib/libinput.so.10.13.0
/usr/lib/udev/libinput-device-group
/usr/lib/udev/libinput-fuzz-extract
/usr/lib/udev/libinput-fuzz-to-zero
/usr/lib/udev/rules.d/80-libinput-device-groups.rules
/usr/lib/udev/rules.d/90-libinput-fuzz-override.rules
/usr/libexec/libinput
/usr/libexec/libinput/libinput-debug-events
/usr/libexec/libinput/libinput-list-devices
/usr/share/doc/libinput
/usr/share/doc/libinput/COPYING
/usr/share/libinput/10-generic-keyboard.quirks
/usr/share/libinput/10-generic-lid.quirks
/usr/share/libinput/10-generic-trackball.quirks
/usr/share/libinput/30-vendor-aiptek.quirks
/usr/share/libinput/30-vendor-alps.quirks
/usr/share/libinput/30-vendor-contour.quirks
/usr/share/libinput/30-vendor-cypress.quirks
/usr/share/libinput/30-vendor-elantech.quirks
/usr/share/libinput/30-vendor-ibm.quirks
/usr/share/libinput/30-vendor-kensington.quirks
/usr/share/libinput/30-vendor-logitech.quirks
/usr/share/libinput/30-vendor-madcatz.quirks
/usr/share/libinput/30-vendor-microsoft.quirks
/usr/share/libinput/30-vendor-razer.quirks
/usr/share/libinput/30-vendor-synaptics.quirks
/usr/share/libinput/30-vendor-trust.quirks
/usr/share/libinput/30-vendor-vmware.quirks
/usr/share/libinput/30-vendor-wacom.quirks
/usr/share/libinput/50-system-acer.quirks
/usr/share/libinput/50-system-apple.quirks
/usr/share/libinput/50-system-asus.quirks
/usr/share/libinput/50-system-chicony.quirks
/usr/share/libinput/50-system-cyborg.quirks
/usr/share/libinput/50-system-dell.quirks
/usr/share/libinput/50-system-google.quirks
/usr/share/libinput/50-system-hp.quirks
/usr/share/libinput/50-system-lenovo.quirks
/usr/share/libinput/50-system-sony.quirks
/usr/share/libinput/50-system-system76.quirks
/usr/share/libinput/50-system-toshiba.quirks
/usr/share/man/man1/libinput-debug-events.1.gz
/usr/share/man/man1/libinput-list-devices.1.gz
/usr/share/man/man1/libinput.1.gz
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_libinput
References
Summary
In this tutorial we learn how to install libinput
on Rocky Linux 8 using yum and dnf.