How To Install mingw64-hidapi on Fedora 36
Introduction
In this tutorial we learn how to install mingw64-hidapi
on Fedora 36.
What is mingw64-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 mingw64-hidapi
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-hidapi.
Install mingw64-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 mingw64-hidapi
using dnf
by running the following command:
sudo dnf -y install mingw64-hidapi
Install mingw64-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 mingw64-hidapi
using yum
by running the following command:
sudo yum -y install mingw64-hidapi
How To Uninstall mingw64-hidapi on Fedora 36
To uninstall only the mingw64-hidapi
package we can use the following command:
sudo dnf remove mingw64-hidapi
mingw64-hidapi Package Contents on Fedora 36
/usr/share/doc/mingw64-hidapi
/usr/share/doc/mingw64-hidapi/AUTHORS.txt
/usr/share/doc/mingw64-hidapi/LICENSE-bsd.txt
/usr/share/doc/mingw64-hidapi/LICENSE-gpl3.txt
/usr/share/doc/mingw64-hidapi/LICENSE-orig.txt
/usr/share/doc/mingw64-hidapi/LICENSE.txt
/usr/share/doc/mingw64-hidapi/README.md
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libhidapi-0.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/include/hidapi
/usr/x86_64-w64-mingw32/sys-root/mingw/include/hidapi/hidapi.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libhidapi.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/hidapi.pc
References
Summary
In this tutorial we learn how to install mingw64-hidapi
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).