memtool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
memtool: command not found
or when using sudo you get the following error message
sudo: memtool: command not found
Solutions to memtool: command not found
How To Fix memtool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu memtool is provided by memtool package.
memtool is:
memtool allows one to read and write memory mapped registers via /dev/mem. The commands are inspired by the respective commands of the barebox bootloader. This is handy during driver development to inspect and modify register settings. It can also be used to modify regular files and character devices (e.g. to paint to /dev/fb0).
To fix this problem, we can install more using the command below.
sudo apt-get -y install memtool
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install memtool.
sudo apt -y install memtool
Or if you have aptitude installed you can use the following command.
sudo aptitude install memtool
Summary
In this tutorial we learn how to fix memtool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.