kbd_mode command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
kbd_mode: command not found
or when using sudo you get the following error message
sudo: kbd_mode: command not found
Solutions to kbd_mode: command not found
How To Fix kbd_mode: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu kbd_mode 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 kbd_mode command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.