How To Install libusbx on Rocky Linux 8
Introduction
In this tutorial we learn how to install libusbx
on Rocky Linux 8.
What is libusbx
This package provides a way for applications to access USB devices. Libusbx is a fork of the original libusb, which is a fully API and ABI compatible drop in for the libusb-1.0.9 release. The libusbx fork was started by most of the libusb-1.0 developers, after the original libusb project did not produce a new release for over 18 months. Note that this library is not compatible with the original libusb-0.1 series, if you need libusb-0.1 compatibility install the libusb package.
We can use yum
or dnf
to install libusbx
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libusbx.
Install libusbx 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 libusbx
using dnf
by running the following command:
sudo dnf -y install libusbx
Install libusbx 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 libusbx
using yum
by running the following command:
sudo yum -y install libusbx
How To Uninstall libusbx on Rocky Linux 8
To uninstall only the libusbx
package we can use the following command:
sudo dnf remove libusbx
libusbx Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/645765987cbadc0b6d16950608ddab5f7550ec
/usr/lib/libusb-1.0.so.0
/usr/lib/libusb-1.0.so.0.2.0
/usr/share/doc/libusbx
/usr/share/doc/libusbx/AUTHORS
/usr/share/doc/libusbx/ChangeLog
/usr/share/doc/libusbx/README.md
/usr/share/licenses/libusbx
/usr/share/licenses/libusbx/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/34d4362ab18eaa09913782a34f9e85f60c7f03
/usr/lib64/libusb-1.0.so.0
/usr/lib64/libusb-1.0.so.0.2.0
/usr/share/doc/libusbx
/usr/share/doc/libusbx/AUTHORS
/usr/share/doc/libusbx/ChangeLog
/usr/share/doc/libusbx/README.md
/usr/share/licenses/libusbx
/usr/share/licenses/libusbx/COPYING
References
Summary
In this tutorial we learn how to install libusbx
on Rocky Linux 8 using yum and dnf.