How To Install libusbx.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libusbx.x86_64
on Amazon Linux 2.
What is libusbx.x86_64
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
to install libusbx.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libusbx.x86_64.
Install libusbx.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libusbx.x86_64
using yum
by running the following command:
sudo yum -y install libusbx.x86_64
How To Uninstall libusbx.x86_64 on Amazon Linux 2
To uninstall only the libusbx.x86_64
package we can use the following command:
sudo yum remove libusbx.x86_64
libusbx.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libusb-1.0.so.0
/usr/lib64/libusb-1.0.so.0.1.0
/usr/share/doc/libusbx-1.0.21
/usr/share/doc/libusbx-1.0.21/AUTHORS
/usr/share/doc/libusbx-1.0.21/COPYING
/usr/share/doc/libusbx-1.0.21/ChangeLog
/usr/share/doc/libusbx-1.0.21/README
References
Summary
In this tutorial we learn how to install libusbx.x86_64
on Amazon Linux 2 using yum.