How To Install libgusb.i686 on Amazon Linux 2

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

Introduction

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

What is libgusb.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libgusb.i686.

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

sudo yum -y install libgusb.i686

How To Uninstall libgusb.i686 on Amazon Linux 2

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

sudo yum remove libgusb.i686

libgusb.i686 Package Contents on Amazon Linux 2

/usr/lib/girepository-1.0/GUsb-1.0.typelib
/usr/lib/libgusb.so.2
/usr/lib/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.i686 on Amazon Linux 2 using yum.