Introduction
In this tutorial we learn how to install air-quality-sensor
on Kali Linux.
What is air-quality-sensor
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.
There are three methods to install air-quality-sensor
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install air-quality-sensor Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install air-quality-sensor
using apt-get
by running the following command:
sudo apt-get -y install air-quality-sensor
Install air-quality-sensor Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install air-quality-sensor
using apt
by running the following command:
sudo apt -y install air-quality-sensor
Install air-quality-sensor Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install air-quality-sensor
using aptitude
by running the following command:
sudo aptitude -y install air-quality-sensor
How To Uninstall air-quality-sensor on Kali Linux
To uninstall only the air-quality-sensor
package we can use the following command:
sudo apt-get remove air-quality-sensor
Uninstall air-quality-sensor And Its Dependencies
To uninstall air-quality-sensor
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove air-quality-sensor
Remove air-quality-sensor Configurations and Data
To remove air-quality-sensor
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge air-quality-sensor
Remove air-quality-sensor configuration, data, and all of its dependencies
We can use the following command to remove air-quality-sensor
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge air-quality-sensor
Dependencies
air-quality-sensor have the following dependencies:
References
Summary
In this tutorial we learn how to install air-quality-sensor
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.