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

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

Introduction

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

What is libusbx-devel.x86_64

The libusbx-devel package contains libraries and header files for developing applications that use libusbx.

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

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

sudo yum -y install libusbx-devel.x86_64

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

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

sudo yum remove libusbx-devel.x86_64

libusbx-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libusb-1.0
/usr/include/libusb-1.0/libusb.h
/usr/lib64/libusb-1.0.so
/usr/lib64/pkgconfig/libusb-1.0.pc

References

Summary

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