bmp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bmp: command not found
or when using sudo you get the following error message
sudo: bmp: command not found
Solutions to bmp: command not found
How To Fix bmp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bmp is provided by ztex-bmp package.
ztex-bmp is:
bmp (for babel universal macro processor) is a powerful general purpose macro processor that can be used in combination with many languages, e.g. Pascal or C. Projects comprising many different languages, can this way share a single mechanism to adjust parameters across all their code base. Developers with C background will be reminded of the functionality of cpp or m4, and those fluent in UNIX will also see similarities to sed.
bmp was developed as a part of the ZTEX EZ-USB SDK and is used to assemble the firmware for EZ-USB micro controllers. It is not associated in any way with D. Knuth’s typesetting system. When run as a standalone application, it is as versatile as to serve as a parser or to perform some non-trivial text replacements.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ztex-bmp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ztex-bmp.
sudo apt -y install ztex-bmp
Or if you have aptitude installed you can use the following command.
sudo aptitude install ztex-bmp
Summary
In this tutorial we learn how to fix bmp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.