How To Install libusb-static.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libusb-static.x86_64 in Amazon Linux 2. libusb-static.x86_64 is Static development files for libusb

Introduction

In this tutorial we learn how to install libusb-static.x86_64 on Amazon Linux 2.

What is libusb-static.x86_64

This package contains static libraries needed to develop applications that use libusb-0.1. However new applications should use libusb-1.0 library instead of this one.

We can use yum to install libusb-static.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-static.x86_64.

Install libusb-static.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-static.x86_64 using yum by running the following command:

sudo yum -y install libusb-static.x86_64

How To Uninstall libusb-static.x86_64 on Amazon Linux 2

To uninstall only the libusb-static.x86_64 package we can use the following command:

sudo yum remove libusb-static.x86_64

libusb-static.x86_64 Package Contents on Amazon Linux 2

/lib64/libusb.a

References

Summary

In this tutorial we learn how to install libusb-static.x86_64 on Amazon Linux 2 using yum.