air-quality-sensor command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
air-quality-sensor: command not found
or when using sudo you get the following error message
sudo: air-quality-sensor: command not found
Solutions to air-quality-sensor: command not found
How To Fix air-quality-sensor: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu air-quality-sensor is provided by air-quality-sensor package.
air-quality-sensor is:
The Indoor Air Monitor is a USB flash drive-shaped sensor which measures the surrounding’s air pollution. This driver prints a list with all connected sensors and their current values to the commandline. Brand names and further information has been documented on http://wiki.micasaverde.com/index.php/CO2_Sensor.
The air quality is displayed on the hardware token by three indicator lamps with the colours green (= good), yellow (= average) and red (= bad), the same colors are also printed by this tool.
To fix this problem, we can install more using the command below.
sudo apt-get -y install air-quality-sensor
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install air-quality-sensor.
sudo apt -y install air-quality-sensor
Or if you have aptitude installed you can use the following command.
sudo aptitude install air-quality-sensor
Summary
In this tutorial we learn how to fix air-quality-sensor command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.