numlockx command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
numlockx: command not found
or when using sudo you get the following error message
sudo: numlockx: command not found
Solutions to numlockx: command not found
How To Fix numlockx: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu numlockx is provided by numlockx package.
numlockx is:
Utilities to enable the keyboard’s Numeric Lock during X11 session initialization or using command line utility.
The package automatically installs session script to enable numlock on session start.
To fix this problem, we can install more using the command below.
sudo apt-get -y install numlockx
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install numlockx.
sudo apt -y install numlockx
Or if you have aptitude installed you can use the following command.
sudo aptitude install numlockx
Summary
In this tutorial we learn how to fix numlockx command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.