light command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
light: command not found
or when using sudo you get the following error message
sudo: light: command not found
Solutions to light: command not found
How To Fix light: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu light is provided by light package.
light is:
Light is a useful tool to control display brightness in lightweight desktops or window managers that do not have bundled applications for this purpose.
Most modern laptops have moved away from hardware controlled brightness and require software control. Light works where other software has proven to be unreliable, e.g. xbacklight. It can even be used from the console as it does not rely on X.
Light has features like setting a minimum brightness value, as well as saving and restoring the brightness at reboot and startup.
To fix this problem, we can install more using the command below.
sudo apt-get -y install light
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install light.
sudo apt -y install light
Or if you have aptitude installed you can use the following command.
sudo aptitude install light
Summary
In this tutorial we learn how to fix light command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.