How To Install libusb.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libusb.x86_64 on Amazon Linux 2.
What is libusb.x86_64
This package provides a way for applications to access USB devices. Legacy libusb-0.1 is no longer supported by upstream, therefore content of this package was replaced by libusb-compat. It provides compatibility layer allowing applications written for libusb-0.1 to work with libusb-1.0.
We can use yum to install libusb.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libusb.x86_64.
Install libusb.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 libusb.x86_64 using yum by running the following command:
sudo yum -y install libusb.x86_64
How To Uninstall libusb.x86_64 on Amazon Linux 2
To uninstall only the libusb.x86_64 package we can use the following command:
sudo yum remove libusb.x86_64
libusb.x86_64 Package Contents on Amazon Linux 2
/lib64/libusb-0.1.so.4
/lib64/libusb-0.1.so.4.4.4
References
Summary
In this tutorial we learn how to install libusb.x86_64 on Amazon Linux 2 using yum.