srec2fw command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
srec2fw: command not found
or when using sudo you get the following error message
sudo: srec2fw: command not found
Solutions to srec2fw: command not found
How To Fix srec2fw: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu srec2fw is provided by prism2-usb-firmware-installer package.
prism2-usb-firmware-installer is:
prism2-usb-firmware-installer will at the time of its own installation download the firmware files for the prism2_usb devices from the upstream code repository and convert them to the format used by the kernel modules since 2.6.32.
Note that only some adapters really need a firmware file and that firmware files are not completely free (in the sense of freely redistributable), which is why this package exists.
To fix this problem, we can install more using the command below.
sudo apt-get -y install prism2-usb-firmware-installer
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install prism2-usb-firmware-installer.
sudo apt -y install prism2-usb-firmware-installer
Or if you have aptitude installed you can use the following command.
sudo aptitude install prism2-usb-firmware-installer
Summary
In this tutorial we learn how to fix srec2fw command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.