How To Install usbutils on AlmaLinux 8

In this tutorial we learn how to install usbutils in AlmaLinux 8. usbutils is Linux USB utilities

Introduction

In this tutorial we learn how to install usbutils on AlmaLinux 8.

What is usbutils

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

We can use yum or dnf to install usbutils on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install usbutils.

Install usbutils on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install usbutils using dnf by running the following command:

sudo dnf -y install usbutils

Install usbutils on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install usbutils using yum by running the following command:

sudo yum -y install usbutils

How To Uninstall usbutils on AlmaLinux 8

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

sudo dnf remove usbutils

References

Summary

In this tutorial we learn how to install usbutils on AlmaLinux 8 using yum and dnf.