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

In this tutorial we learn how to install libusb-devel.x86_64 in Amazon Linux 2. libusb-devel.x86_64 is Development files for libusb

Introduction

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

What is libusb-devel.x86_64

This package contains the header files, libraries and documentation 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-devel.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-devel.x86_64.

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

sudo yum -y install libusb-devel.x86_64

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

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

sudo yum remove libusb-devel.x86_64

libusb-devel.x86_64 Package Contents on Amazon Linux 2

/lib64/libusb.so
/usr/bin/libusb-config
/usr/include/usb.h
/usr/lib64/pkgconfig/libusb.pc
/usr/share/doc/libusb-devel-0.1.4
/usr/share/doc/libusb-devel-0.1.4/AUTHORS
/usr/share/doc/libusb-devel-0.1.4/COPYING
/usr/share/doc/libusb-devel-0.1.4/ChangeLog
/usr/share/doc/libusb-devel-0.1.4/INSTALL
/usr/share/doc/libusb-devel-0.1.4/NEWS
/usr/share/doc/libusb-devel-0.1.4/README

References

Summary

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