bootgen command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bootgen: command not found
or when using sudo you get the following error message
sudo: bootgen: command not found
Solutions to bootgen: command not found
How To Fix bootgen: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bootgen is provided by bootgen-xlnx package.
bootgen-xlnx is:
Bootgen is a Xilinx tool that lets you stitch binary files together and generate device boot images. Bootgen defines multiple properties, attributes and parameters that are input while creating bootimages for use in a Xilinx device.
To fix this problem, we can install more using the command below.
sudo apt-get -y install bootgen-xlnx
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bootgen-xlnx.
sudo apt -y install bootgen-xlnx
Or if you have aptitude installed you can use the following command.
sudo aptitude install bootgen-xlnx
Summary
In this tutorial we learn how to fix bootgen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.