How To Install python3-shelly on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-shelly
on Rocky Linux 8.
What is python3-shelly
pyShellyLibrary for Shelly smart home devices. Using CoAP for auto discovery and status updates.
We can use yum
or dnf
to install python3-shelly
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-shelly.
Install python3-shelly 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-shelly
using dnf
by running the following command:
sudo dnf -y install python3-shelly
Install python3-shelly 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-shelly
using yum
by running the following command:
sudo yum -y install python3-shelly
How To Uninstall python3-shelly on Rocky Linux 8
To uninstall only the python3-shelly
package we can use the following command:
sudo dnf remove python3-shelly
python3-shelly Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/pyShelly
/usr/lib/python3.6/site-packages/pyShelly-0.2.6-py3.6.egg-info
/usr/lib/python3.6/site-packages/pyShelly-0.2.6-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/pyShelly-0.2.6-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/pyShelly-0.2.6-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/pyShelly-0.2.6-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/pyShelly-0.2.6-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/pyShelly/__init__.py
/usr/lib/python3.6/site-packages/pyShelly/__pycache__
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/block.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/block.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/cloud.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/cloud.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/coap.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/coap.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/const.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/const.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/device.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/device.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/dimmer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/dimmer.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/firmware.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/firmware.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/light.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/light.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/loop.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/loop.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/mdns.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/mdns.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/mqtt.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/mqtt.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/powermeter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/powermeter.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/relay.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/relay.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/roller.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/roller.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/sensor.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/sensor.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/switch.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/switch.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pyShelly/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/pyShelly/base.py
/usr/lib/python3.6/site-packages/pyShelly/block.py
/usr/lib/python3.6/site-packages/pyShelly/cloud.py
/usr/lib/python3.6/site-packages/pyShelly/coap.py
/usr/lib/python3.6/site-packages/pyShelly/compat.py
/usr/lib/python3.6/site-packages/pyShelly/const.py
/usr/lib/python3.6/site-packages/pyShelly/device.py
/usr/lib/python3.6/site-packages/pyShelly/dimmer.py
/usr/lib/python3.6/site-packages/pyShelly/firmware.py
/usr/lib/python3.6/site-packages/pyShelly/light.py
/usr/lib/python3.6/site-packages/pyShelly/loop.py
/usr/lib/python3.6/site-packages/pyShelly/mdns.py
/usr/lib/python3.6/site-packages/pyShelly/mqtt.py
/usr/lib/python3.6/site-packages/pyShelly/powermeter.py
/usr/lib/python3.6/site-packages/pyShelly/relay.py
/usr/lib/python3.6/site-packages/pyShelly/roller.py
/usr/lib/python3.6/site-packages/pyShelly/sensor.py
/usr/lib/python3.6/site-packages/pyShelly/switch.py
/usr/lib/python3.6/site-packages/pyShelly/utils.py
/usr/share/doc/python3-shelly
/usr/share/doc/python3-shelly/README.md
References
Summary
In this tutorial we learn how to install python3-shelly
on Rocky Linux 8 using yum and dnf.