How To Install usbutils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install usbutils.x86_64 in Amazon Linux 2. usbutils.x86_64 is Linux USB utilities

Introduction

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

What is usbutils.x86_64

This package contains utilities for inspecting devices connected to a USB bus.

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

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

sudo yum -y install usbutils.x86_64

How To Uninstall usbutils.x86_64 on Amazon Linux 2

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

sudo yum remove usbutils.x86_64

usbutils.x86_64 Package Contents on Amazon Linux 2

/usr/bin/lsusb
/usr/bin/lsusb.py
/usr/bin/usb-devices
/usr/bin/usbhid-dump
/usr/share/doc/usbutils-007
/usr/share/doc/usbutils-007/AUTHORS
/usr/share/doc/usbutils-007/COPYING
/usr/share/doc/usbutils-007/ChangeLog
/usr/share/doc/usbutils-007/NEWS
/usr/share/doc/usbutils-007/README
/usr/share/man/man1/usb-devices.1.gz
/usr/share/man/man8/lsusb.8.gz
/usr/share/man/man8/usbhid-dump.8.gz
/usr/share/pkgconfig/usbutils.pc

References

Summary

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