How To Install python3-atpublic on Rocky Linux 8

In this tutorial we learn how to install python3-atpublic on Rocky Linux 8. python3-atpublic is Decorator for populating a Python module’s all

Introduction

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

What is python3-atpublic

This is a very simple decorator and function which populates a module’s all and optionally the module globals. This provides both a pure-Python implementation and a C implementation. It is proposed that the C implementation be added to built-ins for Python 3.6.

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

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

sudo dnf -y install python3-atpublic

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

sudo yum -y install python3-atpublic

How To Uninstall python3-atpublic on Rocky Linux 8

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

sudo dnf remove python3-atpublic

python3-atpublic Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/13941e68354e0e1931b98dfe52e55f0c80b336
/usr/lib64/python3.6/site-packages/_public.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/atpublic-1.0-py3.6.egg-info
/usr/lib64/python3.6/site-packages/atpublic-1.0-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/atpublic-1.0-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/atpublic-1.0-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/atpublic-1.0-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/public
/usr/lib64/python3.6/site-packages/public/__init__.py
/usr/lib64/python3.6/site-packages/public/__pycache__
/usr/lib64/python3.6/site-packages/public/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/public/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/public/__pycache__/public.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/public/__pycache__/public.cpython-36.pyc
/usr/lib64/python3.6/site-packages/public/public.py
/usr/lib64/python3.6/site-packages/public/tests
/usr/lib64/python3.6/site-packages/public/tests/__init__.py
/usr/lib64/python3.6/site-packages/public/tests/__pycache__
/usr/lib64/python3.6/site-packages/public/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/public/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/public/tests/__pycache__/test_public.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/public/tests/__pycache__/test_public.cpython-36.pyc
/usr/lib64/python3.6/site-packages/public/tests/test_public.py
/usr/share/doc/python3-atpublic
/usr/share/doc/python3-atpublic/NEWS.rst
/usr/share/doc/python3-atpublic/README.rst
/usr/share/licenses/python3-atpublic
/usr/share/licenses/python3-atpublic/LICENSE.txt

References

Summary

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