How To Install mingw32-hidapi on Fedora 36

In this tutorial we learn how to install mingw32-hidapi in Fedora 36. mingw32-hidapi is Library for communicating with USB and Bluetooth HID devices

Introduction

In this tutorial we learn how to install mingw32-hidapi on Fedora 36.

What is mingw32-hidapi

HIDAPI is a multi-platform library which allows an application to interface with USB and Bluetooth HID-class devices on Windows, Linux, FreeBSD and Mac OS X. On Linux, either the hidraw or the libusb back-end can be used. There are trade-offs and the functionality supported is slightly different.

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

Install mingw32-hidapi 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 mingw32-hidapi using dnf by running the following command:

sudo dnf -y install mingw32-hidapi

Install mingw32-hidapi 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 mingw32-hidapi using yum by running the following command:

sudo yum -y install mingw32-hidapi

How To Uninstall mingw32-hidapi on Fedora 36

To uninstall only the mingw32-hidapi package we can use the following command:

sudo dnf remove mingw32-hidapi

mingw32-hidapi Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/bin/libhidapi-0.dll
/usr/i686-w64-mingw32/sys-root/mingw/include/hidapi
/usr/i686-w64-mingw32/sys-root/mingw/include/hidapi/hidapi.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/libhidapi.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/hidapi.pc
/usr/share/doc/mingw32-hidapi
/usr/share/doc/mingw32-hidapi/AUTHORS.txt
/usr/share/doc/mingw32-hidapi/LICENSE-bsd.txt
/usr/share/doc/mingw32-hidapi/LICENSE-gpl3.txt
/usr/share/doc/mingw32-hidapi/LICENSE-orig.txt
/usr/share/doc/mingw32-hidapi/LICENSE.txt
/usr/share/doc/mingw32-hidapi/README.md

References

Summary

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