How To Install libusbx.i686 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libusbx.i686 on Amazon Linux 2.
What is libusbx.i686
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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libusbx.i686.
Install libusbx.i686 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.i686 using yum by running the following command:
sudo yum -y install libusbx.i686
How To Uninstall libusbx.i686 on Amazon Linux 2
To uninstall only the libusbx.i686 package we can use the following command:
sudo yum remove libusbx.i686
libusbx.i686 Package Contents on Amazon Linux 2
/usr/lib/libusb-1.0.so.0
/usr/lib/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.i686 on Amazon Linux 2 using yum.