dfu-tool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dfu-tool: command not found
or when using sudo you get the following error message
sudo: dfu-tool: command not found
Solutions to dfu-tool: command not found
How To Fix dfu-tool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dfu-tool is provided by fwupd package.
fwupd is:
fwupd is a daemon to allow session software to update device firmware. You can either use a GUI software manager like GNOME Software to view and apply updates, the command-line tool or the system D-Bus interface directly. Firmware updates are supported for a variety of technologies. See https://github.com/fwupd/fwupd for details
To fix this problem, we can install more using the command below.
sudo apt-get -y install fwupd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install fwupd.
sudo apt -y install fwupd
Or if you have aptitude installed you can use the following command.
sudo aptitude install fwupd
Summary
In this tutorial we learn how to fix dfu-tool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.