bmaptool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bmaptool: command not found
or when using sudo you get the following error message
sudo: bmaptool: command not found
Solutions to bmaptool: command not found
How To Fix bmaptool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bmaptool is provided by bmap-tools package.
bmap-tools is:
bmaptool is a generic tool for creating the block map (bmap) for a file, and copying files using the block map. The idea is that large file containing unused blocks, like raw system image files, can be copied or flashed a lot faster with bmaptool than with traditional tools like “dd” or “cp”.
To fix this problem, we can install more using the command below.
sudo apt-get -y install bmap-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bmap-tools.
sudo apt -y install bmap-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install bmap-tools
Summary
In this tutorial we learn how to fix bmaptool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.