How To Install python3-hatasmota on Rocky Linux 8

In this tutorial we learn how to install python3-hatasmota on Rocky Linux 8. python3-hatasmota is Python module to help parse and construct Tasmota MQTT messages

Introduction

In this tutorial we learn how to install python3-hatasmota on Rocky Linux 8.

What is python3-hatasmota

Python module to help parse and construct Tasmota MQTT messages.

We can use yum or dnf to install python3-hatasmota on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-hatasmota.

Install python3-hatasmota 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-hatasmota using dnf by running the following command:

sudo dnf -y install python3-hatasmota

Install python3-hatasmota 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-hatasmota using yum by running the following command:

sudo yum -y install python3-hatasmota

How To Uninstall python3-hatasmota on Rocky Linux 8

To uninstall only the python3-hatasmota package we can use the following command:

sudo dnf remove python3-hatasmota

python3-hatasmota Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/HATasmota-0.0.10-py3.6.egg-info
/usr/lib/python3.6/site-packages/HATasmota-0.0.10-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/HATasmota-0.0.10-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/HATasmota-0.0.10-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/HATasmota-0.0.10-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/HATasmota-0.0.10-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/HATasmota-0.0.10-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/hatasmota
/usr/lib/python3.6/site-packages/hatasmota/__init__.py
/usr/lib/python3.6/site-packages/hatasmota/__pycache__
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/binary_sensor.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/binary_sensor.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/button.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/button.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/config_validation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/config_validation.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/const.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/const.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/discovery.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/discovery.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/entity.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/entity.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/light.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/light.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/mqtt.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/mqtt.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/sensor.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/sensor.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/switch.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/switch.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/trigger.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/trigger.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/hatasmota/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/hatasmota/binary_sensor.py
/usr/lib/python3.6/site-packages/hatasmota/button.py
/usr/lib/python3.6/site-packages/hatasmota/config_validation.py
/usr/lib/python3.6/site-packages/hatasmota/const.py
/usr/lib/python3.6/site-packages/hatasmota/discovery.py
/usr/lib/python3.6/site-packages/hatasmota/entity.py
/usr/lib/python3.6/site-packages/hatasmota/light.py
/usr/lib/python3.6/site-packages/hatasmota/mqtt.py
/usr/lib/python3.6/site-packages/hatasmota/sensor.py
/usr/lib/python3.6/site-packages/hatasmota/switch.py
/usr/lib/python3.6/site-packages/hatasmota/trigger.py
/usr/lib/python3.6/site-packages/hatasmota/utils.py
/usr/share/doc/python3-hatasmota
/usr/share/doc/python3-hatasmota/README.md
/usr/share/licenses/python3-hatasmota
/usr/share/licenses/python3-hatasmota/LICENSE

References

Summary

In this tutorial we learn how to install python3-hatasmota on Rocky Linux 8 using yum and dnf.