How To Install libhid on Fedora 36

In this tutorial we learn how to install libhid in Fedora 36. libhid is User space USB HID access library

Introduction

In this tutorial we learn how to install libhid on Fedora 36.

What is libhid

libhid provides a generic and flexible way to access and interact with USB HID devices, much like libusb does for plain USB devices. It is based on libusb, thus it requires no HID support in the kernel and provides means to take control over a device even if the kernel governs it.

We can use yum or dnf to install libhid on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libhid.

Install libhid on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libhid

Install libhid on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libhid using yum by running the following command:

sudo yum -y install libhid

How To Uninstall libhid on Fedora 36

To uninstall only the libhid package we can use the following command:

sudo dnf remove libhid

libhid Package Contents on Fedora 36

/usr/bin/libhid-detach-device
/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/27ff4d49e168cc1c7e4e0fd58162921bf96f8e
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/d7b9fdd954b08b0c46bdca638047d3d786680c
/usr/lib64/libhid.so.0
/usr/lib64/libhid.so.0.0.0
/usr/share/licenses/libhid
/usr/share/licenses/libhid/README.licence
/usr/share/man/man1/libhid-detach-device.1.gz

References

Summary

In this tutorial we learn how to install libhid on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install libhid on Fedora 36” linkTitle: “libhid” type: “docs” description: “In this tutorial we learn how to install libhid in Fedora 36. libhid is User space USB HID access library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libhid-featured.png

Introduction

In this tutorial we learn how to install libhid on Fedora 36.

What is libhid

libhid provides a generic and flexible way to access and interact with USB HID devices, much like libusb does for plain USB devices. It is based on libusb, thus it requires no HID support in the kernel and provides means to take control over a device even if the kernel governs it.

We can use yum or dnf to install libhid on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libhid.

Install libhid on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libhid

Install libhid on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libhid using yum by running the following command:

sudo yum -y install libhid

How To Uninstall libhid on Fedora 36

To uninstall only the libhid package we can use the following command:

sudo dnf remove libhid

libhid Package Contents on Fedora 36

/usr/bin/libhid-detach-device
/usr/lib/.build-id
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/43e64c576dd62c6069d372823452de377e077a
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/7168e4a8fb1583044da81fccb5f8c1832d598c
/usr/lib/libhid.so.0
/usr/lib/libhid.so.0.0.0
/usr/share/licenses/libhid
/usr/share/licenses/libhid/README.licence
/usr/share/man/man1/libhid-detach-device.1.gz

References

Summary

In this tutorial we learn how to install libhid on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).