How To Install python3-pypck on Rocky Linux 8

In this tutorial we learn how to install python3-pypck on Rocky Linux 8. python3-pypck is Python LCN-PCK library

Introduction

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

What is python3-pypck

pypck is an open source library written in Python which allows the connection to the LCN (local control network) system. It uses the vendor protocol LCN-PCK.

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

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

sudo dnf -y install python3-pypck

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

sudo yum -y install python3-pypck

How To Uninstall python3-pypck on Rocky Linux 8

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

sudo dnf remove python3-pypck

python3-pypck Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/pypck
/usr/lib/python3.6/site-packages/pypck-0.7.7-py3.6.egg-info
/usr/lib/python3.6/site-packages/pypck-0.7.7-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/pypck-0.7.7-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/pypck-0.7.7-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/pypck-0.7.7-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/pypck/__init__.py
/usr/lib/python3.6/site-packages/pypck/__pycache__
/usr/lib/python3.6/site-packages/pypck/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/connection.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/connection.cpython-36.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/inputs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/inputs.cpython-36.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/lcn_addr.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/lcn_addr.cpython-36.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/lcn_defs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/lcn_defs.cpython-36.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/module.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/module.cpython-36.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/pck_commands.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/pck_commands.cpython-36.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/request_handlers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/request_handlers.cpython-36.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/timeout_retry.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pypck/__pycache__/timeout_retry.cpython-36.pyc
/usr/lib/python3.6/site-packages/pypck/connection.py
/usr/lib/python3.6/site-packages/pypck/inputs.py
/usr/lib/python3.6/site-packages/pypck/lcn_addr.py
/usr/lib/python3.6/site-packages/pypck/lcn_defs.py
/usr/lib/python3.6/site-packages/pypck/module.py
/usr/lib/python3.6/site-packages/pypck/pck_commands.py
/usr/lib/python3.6/site-packages/pypck/request_handlers.py
/usr/lib/python3.6/site-packages/pypck/timeout_retry.py
/usr/share/doc/python3-pypck
/usr/share/doc/python3-pypck/README.md
/usr/share/licenses/python3-pypck
/usr/share/licenses/python3-pypck/LICENSE

References

Summary

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