dfu-programmer command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dfu-programmer: command not found
or when using sudo you get the following error message
sudo: dfu-programmer: command not found
Solutions to dfu-programmer: command not found
How To Fix dfu-programmer: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dfu-programmer is provided by dfu-programmer package.
dfu-programmer is:
A Linux based command-line programmer for Atmel chips with a USB bootloader supporting in-system programming.
This is a mostly Device Firmware Update (DFU)-1.0-compliant user-space application. This program was created because the Atmel FLIP program for flashing devices does not run on Linux and because standard DFU loaders do not work for Atmel chips.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dfu-programmer
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dfu-programmer.
sudo apt -y install dfu-programmer
Or if you have aptitude installed you can use the following command.
sudo aptitude install dfu-programmer
Summary
In this tutorial we learn how to fix dfu-programmer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.