How To Install python3-airthings on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-airthings
on Rocky Linux 8.
What is python3-airthings
airthings is a simple python package that contains methods to communicate with Airthings devices. The package utilizies bluepy for the communication between python and the devices.
We can use yum
or dnf
to install python3-airthings
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-airthings.
Install python3-airthings on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-airthings
using dnf
by running the following command:
sudo dnf -y install python3-airthings
Install python3-airthings on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-airthings
using yum
by running the following command:
sudo yum -y install python3-airthings
How To Uninstall python3-airthings on Rocky Linux 8
To uninstall only the python3-airthings
package we can use the following command:
sudo dnf remove python3-airthings
python3-airthings Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/airthings
/usr/lib/python3.6/site-packages/airthings-3.2.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/airthings-3.2.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/airthings-3.2.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/airthings-3.2.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/airthings-3.2.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/airthings-3.2.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/airthings/__init__.py
/usr/lib/python3.6/site-packages/airthings/__pycache__
/usr/lib/python3.6/site-packages/airthings/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/__pycache__/models.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/__pycache__/models.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/constants.py
/usr/lib/python3.6/site-packages/airthings/devices
/usr/lib/python3.6/site-packages/airthings/devices/__init__.py
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/wave_gen_1.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/wave_gen_1.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/wave_gen_2.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/wave_gen_2.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/wave_mini_gen_1.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/wave_mini_gen_1.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/wave_plus_gen_1.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/devices/__pycache__/wave_plus_gen_1.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/devices/utils.py
/usr/lib/python3.6/site-packages/airthings/devices/wave_gen_1.py
/usr/lib/python3.6/site-packages/airthings/devices/wave_gen_2.py
/usr/lib/python3.6/site-packages/airthings/devices/wave_mini_gen_1.py
/usr/lib/python3.6/site-packages/airthings/devices/wave_plus_gen_1.py
/usr/lib/python3.6/site-packages/airthings/exceptions.py
/usr/lib/python3.6/site-packages/airthings/models.py
/usr/lib/python3.6/site-packages/airthings/sensors
/usr/lib/python3.6/site-packages/airthings/sensors/__init__.py
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/atmospheric_pressure.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/atmospheric_pressure.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/co2.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/co2.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/humidity.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/humidity.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/radon_long_term_average.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/radon_long_term_average.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/radon_short_term_average.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/radon_short_term_average.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/temperature.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/temperature.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/voc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/__pycache__/voc.cpython-36.pyc
/usr/lib/python3.6/site-packages/airthings/sensors/atmospheric_pressure.py
/usr/lib/python3.6/site-packages/airthings/sensors/co2.py
/usr/lib/python3.6/site-packages/airthings/sensors/humidity.py
/usr/lib/python3.6/site-packages/airthings/sensors/radon_long_term_average.py
/usr/lib/python3.6/site-packages/airthings/sensors/radon_short_term_average.py
/usr/lib/python3.6/site-packages/airthings/sensors/temperature.py
/usr/lib/python3.6/site-packages/airthings/sensors/voc.py
/usr/lib/python3.6/site-packages/airthings/utils.py
/usr/share/doc/python3-airthings
/usr/share/doc/python3-airthings/README.md
References
Summary
In this tutorial we learn how to install python3-airthings
on Rocky Linux 8 using yum and dnf.