How To Install libusbx on CentOS 8
Introduction
In this tutorial we learn how to install libusbx
on CentOS 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. libusbx 1.0.23 4.el8 i686 78 k libusbx-1.0.23-4.el8.src.rpm baseos Library for accessing USB devices http LGPLv2+ 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libusbx.
Install libusbx on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install libusbx
using dnf
by running the following command:
sudo dnf -y install libusbx
Install libusbx on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the libusbx
package we can use the following command:
sudo dnf remove libusbx
libusbx Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/0553f05ffd11286cc5f3309964aea17a7eb4c8
/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
- [libusbx website](http://libusb.info http://libusb.info)
Summary
In this tutorial we learn how to install libusbx
on CentOS 8 using yum and dnf.