dumpkeys command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dumpkeys: command not found
or when using sudo you get the following error message
sudo: dumpkeys: command not found
Solutions to dumpkeys: command not found
How To Fix dumpkeys: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dumpkeys is provided by kbd package.
kbd is:
This package allows you to set up the Linux console, change the font, resize text mode virtual consoles and remap the keyboard.
You will probably want to install a set of data files, such as the one in the “console-setup” package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install kbd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install kbd.
sudo apt -y install kbd
Or if you have aptitude installed you can use the following command.
sudo aptitude install kbd
Summary
In this tutorial we learn how to fix dumpkeys command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.