How To Install rust-hidapi-devel on Fedora 36

In this tutorial we learn how to install rust-hidapi-devel in Fedora 36. rust-hidapi-devel is Rust-y wrapper around hidapi

Introduction

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

What is rust-hidapi-devel

Rust-y wrapper around hidapi. This package contains library source intended for building other packages which use “hidapi” crate.

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

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

sudo dnf -y install rust-hidapi-devel

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

sudo yum -y install rust-hidapi-devel

How To Uninstall rust-hidapi-devel on Fedora 36

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

sudo dnf remove rust-hidapi-devel

rust-hidapi-devel Package Contents on Fedora 36

/usr/share/cargo/registry/hidapi-1.2.6
/usr/share/cargo/registry/hidapi-1.2.6/.cargo-checksum.json
/usr/share/cargo/registry/hidapi-1.2.6/Cargo.toml
/usr/share/cargo/registry/hidapi-1.2.6/LICENSE.txt
/usr/share/cargo/registry/hidapi-1.2.6/README.md
/usr/share/cargo/registry/hidapi-1.2.6/build.rs
/usr/share/cargo/registry/hidapi-1.2.6/etc
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/AUTHORS.txt
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/HACKING.txt
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/LICENSE-bsd.txt
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/LICENSE-gpl3.txt
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/LICENSE-orig.txt
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/LICENSE.txt
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/Makefile.am
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/README.md
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/VERSION
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/android
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/android/jni
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/android/jni/Android.mk
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/bootstrap
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/configure.ac
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/dist
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/dist/hidapi.podspec
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/doxygen
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/doxygen/Doxyfile
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/hidapi
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/hidapi/hidapi.h
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/hidtest
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/hidtest/Makefile.am
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/hidtest/test.c
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/libusb
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/libusb/Makefile-manual
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/libusb/Makefile.am
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/libusb/Makefile.freebsd
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/libusb/Makefile.haiku
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/libusb/Makefile.linux
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/libusb/hid.c
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/linux
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/linux/Makefile-manual
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/linux/Makefile.am
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/linux/hid.c
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/m4
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/m4/ax_pthread.m4
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/m4/pkg.m4
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/mac
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/mac/Makefile-manual
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/mac/Makefile.am
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/mac/hid.c
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/pc
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/pc/hidapi-hidraw.pc.in
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/pc/hidapi-libusb.pc.in
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/pc/hidapi.pc.in
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/Makefile-manual
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/Makefile.am
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/Makefile.freebsd
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/Makefile.linux
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/Makefile.mac
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/Makefile.mingw
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/TestGUI.app.in
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/TestGUI.app.in/Contents
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/TestGUI.app.in/Contents/Info.plist
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/TestGUI.app.in/Contents/PkgInfo
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/TestGUI.app.in/Contents/Resources
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/TestGUI.app.in/Contents/Resources/English.lproj
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/TestGUI.app.in/Contents/Resources/English.lproj/InfoPlist.strings
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/TestGUI.app.in/Contents/Resources/Signal11.icns
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/copy_to_bundle.sh
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/mac_support.h
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/mac_support_cocoa.m
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/test.cpp
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/testgui.sln
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/testgui/testgui.vcproj
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/udev
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/udev/99-hid.rules
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/Makefile-manual
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/Makefile.am
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/Makefile.mingw
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/ddk_build
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/ddk_build/hidapi.def
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/ddk_build/makefile
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/ddk_build/sources
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/hid.c
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/hidapi.sln
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/hidapi.vcproj
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/hidapi.vcxproj
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/hidapi.vcxproj.filters
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/hidtest.vcproj
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/hidtest.vcxproj
/usr/share/cargo/registry/hidapi-1.2.6/etc/hidapi/windows/hidtest.vcxproj.filters
/usr/share/cargo/registry/hidapi-1.2.6/examples
/usr/share/cargo/registry/hidapi-1.2.6/examples/co2mon.rs
/usr/share/cargo/registry/hidapi-1.2.6/examples/lshid.rs
/usr/share/cargo/registry/hidapi-1.2.6/examples/open_first_device.rs
/usr/share/cargo/registry/hidapi-1.2.6/examples/readhid.rs
/usr/share/cargo/registry/hidapi-1.2.6/examples/static_lifetime_bound.rs
/usr/share/cargo/registry/hidapi-1.2.6/src
/usr/share/cargo/registry/hidapi-1.2.6/src/error.rs
/usr/share/cargo/registry/hidapi-1.2.6/src/ffi.rs
/usr/share/cargo/registry/hidapi-1.2.6/src/lib.rs
/usr/share/doc/rust-hidapi-devel
/usr/share/doc/rust-hidapi-devel/AUTHORS.txt
/usr/share/doc/rust-hidapi-devel/HACKING.txt
/usr/share/doc/rust-hidapi-devel/README.md
/usr/share/doc/rust-hidapi-devel/examples
/usr/share/doc/rust-hidapi-devel/examples/co2mon.rs
/usr/share/doc/rust-hidapi-devel/examples/lshid.rs
/usr/share/doc/rust-hidapi-devel/examples/open_first_device.rs
/usr/share/doc/rust-hidapi-devel/examples/readhid.rs
/usr/share/doc/rust-hidapi-devel/examples/static_lifetime_bound.rs
/usr/share/licenses/rust-hidapi-devel
/usr/share/licenses/rust-hidapi-devel/LICENSE-bsd.txt
/usr/share/licenses/rust-hidapi-devel/LICENSE-gpl3.txt
/usr/share/licenses/rust-hidapi-devel/LICENSE-orig.txt
/usr/share/licenses/rust-hidapi-devel/LICENSE.txt

References

Summary

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