How To Install dfu-util on Fedora 36

In this tutorial we learn how to install dfu-util in Fedora 36. dfu-util is USB Device Firmware Upgrade tool

Introduction

In this tutorial we learn how to install dfu-util on Fedora 36.

What is dfu-util

USB Device Firmware Upgrade (DFU) is an official USB device class specification of the USB Implementers Forum. It specifies a vendor and device independent way of updating the firmware of a USB device. The idea is to have only one vendor-independent firmware update tool as part of the operating system, which can then (given a particular firmware image) be downloaded into the device. In addition to firmware download, it also specifies firmware upload, i.e. loading the currently installed device firmware to the USB Host. The DFU specification can be found at http

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

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

sudo dnf -y install dfu-util

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

sudo yum -y install dfu-util

How To Uninstall dfu-util on Fedora 36

To uninstall only the dfu-util package we can use the following command:

sudo dnf remove dfu-util

dfu-util Package Contents on Fedora 36

/usr/bin/dfu-prefix
/usr/bin/dfu-suffix
/usr/bin/dfu-util
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/5005e06770109c097dc6a593532c92386721cb
/usr/lib/.build-id/63
/usr/lib/.build-id/63/c09be2c695f771952c5c4bf0751e3cfaba9e15
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/1e26ec0a119e70ee6e5fad321f01f325d12d95
/usr/share/doc/dfu-util
/usr/share/doc/dfu-util/ChangeLog
/usr/share/doc/dfu-util/DEVICES.txt
/usr/share/doc/dfu-util/README
/usr/share/doc/dfu-util/TODO
/usr/share/licenses/dfu-util
/usr/share/licenses/dfu-util/COPYING
/usr/share/man/man1/dfu-prefix.1.gz
/usr/share/man/man1/dfu-suffix.1.gz
/usr/share/man/man1/dfu-util.1.gz

References

Summary

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