How To Install libgusb.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libgusb.x86_64 in Amazon Linux 2. libgusb.x86_64 is GLib wrapper around libusb1

Introduction

In this tutorial we learn how to install libgusb.x86_64 on Amazon Linux 2.

What is libgusb.x86_64

GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop.

We can use yum to install libgusb.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libgusb.x86_64.

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

sudo yum -y install libgusb.x86_64

How To Uninstall libgusb.x86_64 on Amazon Linux 2

To uninstall only the libgusb.x86_64 package we can use the following command:

sudo yum remove libgusb.x86_64

libgusb.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/girepository-1.0/GUsb-1.0.typelib
/usr/lib64/libgusb.so.2
/usr/lib64/libgusb.so.2.0.10
/usr/share/doc/libgusb-0.2.9
/usr/share/doc/libgusb-0.2.9/AUTHORS
/usr/share/doc/libgusb-0.2.9/COPYING
/usr/share/doc/libgusb-0.2.9/NEWS
/usr/share/doc/libgusb-0.2.9/README

References

Summary

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