How To Install libusbx on Fedora 34
Introduction
In this tutorial we learn how to install libusbx
on Fedora 34.
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.24 2.fc34 i686 77 k libusbx-1.0.24-2.fc34.src.rpm fedora 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libusbx.
Install libusbx on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34
To uninstall only the libusbx
package we can use the following command:
sudo dnf remove libusbx
libusbx Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/34c402b8778c44bd92093d53b368c059739b42
/usr/lib64/libusb-1.0.so.0
/usr/lib64/libusb-1.0.so.0.3.0
/usr/share/doc/libusbx
/usr/share/doc/libusbx/AUTHORS
/usr/share/doc/libusbx/ChangeLog
/usr/share/doc/libusbx/README
/usr/share/licenses/libusbx
/usr/share/licenses/libusbx/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/731fe28018e759791a1a97f2fc8602c269e163
/usr/lib/libusb-1.0.so.0
/usr/lib/libusb-1.0.so.0.3.0
/usr/share/doc/libusbx
/usr/share/doc/libusbx/AUTHORS
/usr/share/doc/libusbx/ChangeLog
/usr/share/doc/libusbx/README
/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 Fedora 34 using yum and dnf.