How To Install usbsniff on Fedora 36

In this tutorial we learn how to install usbsniff in Fedora 36. usbsniff is USB traffic capture and replay tools

Introduction

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

What is usbsniff

Tools to capture USB traffic, store the capture results and replay them against the device. Useful for debugging USB devices or reverse-engineering protocols.

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

Install usbsniff 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 usbsniff using dnf by running the following command:

sudo dnf -y install usbsniff

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

sudo yum -y install usbsniff

How To Uninstall usbsniff on Fedora 36

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

sudo dnf remove usbsniff

usbsniff Package Contents on Fedora 36

/usr/bin/usb_capture
/usr/bin/usb_detach
/usr/bin/usb_replay
/usr/bin/usb_reset
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/b25468b3df1011541e9b0c7466029f72df286f
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/927e9dbdb08f556d90496427cd1f0a8a56ab32
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/366d24db270a4a82763b72d59f0f1d7e5d8b0b
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/73f4d61d47fa7d290df7f571eeb63a36268900
/usr/share/doc/usbsniff
/usr/share/doc/usbsniff/LICENSE
/usr/share/doc/usbsniff/README.md

References

Summary

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