How To Install libusb-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libusb-devel
on Rocky Linux 8.
What is libusb-devel
This package contains the header files, libraries and documentation needed to develop applications that use libusb-0.1. However new applications should use libusb-1.0 library instead of this one.
We can use yum
or dnf
to install libusb-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libusb-devel.
Install libusb-devel 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 libusb-devel
using dnf
by running the following command:
sudo dnf -y install libusb-devel
Install libusb-devel 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 libusb-devel
using yum
by running the following command:
sudo yum -y install libusb-devel
How To Uninstall libusb-devel on Rocky Linux 8
To uninstall only the libusb-devel
package we can use the following command:
sudo dnf remove libusb-devel
libusb-devel Package Contents on Rocky Linux 8
/usr/bin/libusb-config
/usr/include/usb.h
/usr/lib/libusb.so
/usr/lib/pkgconfig/libusb.pc
/usr/bin/libusb-config
/usr/include/usb.h
/usr/lib64/libusb.so
/usr/lib64/pkgconfig/libusb.pc
References
Summary
In this tutorial we learn how to install libusb-devel
on Rocky Linux 8 using yum and dnf.