How To Install usbmon on Fedora 36

In this tutorial we learn how to install usbmon in Fedora 36. usbmon is A basic front-end to usbmon

Introduction

In this tutorial we learn how to install usbmon on Fedora 36.

What is usbmon

The usbmon program collects and prints a trace of USB transactions as they occur between the USB core and HCDs. Analyzing the trace helps to debug the kernel USB stack, device firmware, and applications.

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

Install usbmon on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install usbmon

Install usbmon on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install usbmon

How To Uninstall usbmon on Fedora 36

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

sudo dnf remove usbmon

usbmon Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/29ca4088c7d57a329d51734b03fa6d0097e984
/usr/sbin/usbmon
/usr/share/doc/usbmon
/usr/share/doc/usbmon/COPYING
/usr/share/doc/usbmon/README
/usr/share/man/man8/usbmon.8.gz

References

Summary

In this tutorial we learn how to install usbmon on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).