How To Install python3-py on Fedora 36

In this tutorial we learn how to install python3-py in Fedora 36. python3-py is Library with cross-python path, ini-parsing, io, code, log facilities

Introduction

In this tutorial we learn how to install python3-py on Fedora 36.

What is python3-py

The py lib is a Python development support library featuring the following tools and modules * py.path * py.apipkg * py.iniconfig * py.code * py.path

We can use yum or dnf to install python3-py on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-py.

Install python3-py on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-py using dnf by running the following command:

sudo dnf -y install python3-py

Install python3-py on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-py using yum by running the following command:

sudo yum -y install python3-py

How To Uninstall python3-py on Fedora 36

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

sudo dnf remove python3-py

python3-py Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/py
/usr/lib/python3.10/site-packages/py-1.11.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/py-1.11.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/py-1.11.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/py-1.11.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/py-1.11.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/py-1.11.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/py/__init__.py
/usr/lib/python3.10/site-packages/py/__init__.pyi
/usr/lib/python3.10/site-packages/py/__metainfo.py
/usr/lib/python3.10/site-packages/py/__pycache__
/usr/lib/python3.10/site-packages/py/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/__metainfo.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/__metainfo.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/_builtin.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/_builtin.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/_error.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/_error.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/_std.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/_std.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/_version.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/_xmlgen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/_xmlgen.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/__pycache__/test.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_builtin.py
/usr/lib/python3.10/site-packages/py/_code
/usr/lib/python3.10/site-packages/py/_code/__init__.py
/usr/lib/python3.10/site-packages/py/_code/__pycache__
/usr/lib/python3.10/site-packages/py/_code/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/_assertionnew.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/_assertionnew.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/_assertionold.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/_assertionold.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/_py2traceback.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/_py2traceback.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/assertion.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/assertion.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/code.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/code.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/source.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_code/__pycache__/source.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_code/_assertionnew.py
/usr/lib/python3.10/site-packages/py/_code/_assertionold.py
/usr/lib/python3.10/site-packages/py/_code/_py2traceback.py
/usr/lib/python3.10/site-packages/py/_code/assertion.py
/usr/lib/python3.10/site-packages/py/_code/code.py
/usr/lib/python3.10/site-packages/py/_code/source.py
/usr/lib/python3.10/site-packages/py/_error.py
/usr/lib/python3.10/site-packages/py/_io
/usr/lib/python3.10/site-packages/py/_io/__init__.py
/usr/lib/python3.10/site-packages/py/_io/__pycache__
/usr/lib/python3.10/site-packages/py/_io/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_io/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_io/__pycache__/capture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_io/__pycache__/capture.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_io/__pycache__/saferepr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_io/__pycache__/saferepr.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_io/__pycache__/terminalwriter.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_io/__pycache__/terminalwriter.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_io/capture.py
/usr/lib/python3.10/site-packages/py/_io/saferepr.py
/usr/lib/python3.10/site-packages/py/_io/terminalwriter.py
/usr/lib/python3.10/site-packages/py/_log
/usr/lib/python3.10/site-packages/py/_log/__init__.py
/usr/lib/python3.10/site-packages/py/_log/__pycache__
/usr/lib/python3.10/site-packages/py/_log/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_log/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_log/__pycache__/log.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_log/__pycache__/log.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_log/__pycache__/warning.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_log/__pycache__/warning.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_log/log.py
/usr/lib/python3.10/site-packages/py/_log/warning.py
/usr/lib/python3.10/site-packages/py/_path
/usr/lib/python3.10/site-packages/py/_path/__init__.py
/usr/lib/python3.10/site-packages/py/_path/__pycache__
/usr/lib/python3.10/site-packages/py/_path/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/cacheutil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/cacheutil.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/common.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/common.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/local.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/local.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/svnurl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/svnurl.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/svnwc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_path/__pycache__/svnwc.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_path/cacheutil.py
/usr/lib/python3.10/site-packages/py/_path/common.py
/usr/lib/python3.10/site-packages/py/_path/local.py
/usr/lib/python3.10/site-packages/py/_path/svnurl.py
/usr/lib/python3.10/site-packages/py/_path/svnwc.py
/usr/lib/python3.10/site-packages/py/_process
/usr/lib/python3.10/site-packages/py/_process/__init__.py
/usr/lib/python3.10/site-packages/py/_process/__pycache__
/usr/lib/python3.10/site-packages/py/_process/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_process/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_process/__pycache__/cmdexec.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_process/__pycache__/cmdexec.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_process/__pycache__/forkedfunc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_process/__pycache__/forkedfunc.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_process/__pycache__/killproc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_process/__pycache__/killproc.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_process/cmdexec.py
/usr/lib/python3.10/site-packages/py/_process/forkedfunc.py
/usr/lib/python3.10/site-packages/py/_process/killproc.py
/usr/lib/python3.10/site-packages/py/_std.py
/usr/lib/python3.10/site-packages/py/_vendored_packages
/usr/lib/python3.10/site-packages/py/_vendored_packages/__init__.py
/usr/lib/python3.10/site-packages/py/_vendored_packages/__pycache__
/usr/lib/python3.10/site-packages/py/_vendored_packages/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_vendored_packages/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_vendored_packages/apipkg
/usr/lib/python3.10/site-packages/py/_vendored_packages/apipkg/__init__.py
/usr/lib/python3.10/site-packages/py/_vendored_packages/apipkg/__pycache__
/usr/lib/python3.10/site-packages/py/_vendored_packages/apipkg/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_vendored_packages/apipkg/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_vendored_packages/apipkg/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_vendored_packages/apipkg/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_vendored_packages/apipkg/version.py
/usr/lib/python3.10/site-packages/py/_vendored_packages/iniconfig
/usr/lib/python3.10/site-packages/py/_vendored_packages/iniconfig/__init__.py
/usr/lib/python3.10/site-packages/py/_vendored_packages/iniconfig/__init__.pyi
/usr/lib/python3.10/site-packages/py/_vendored_packages/iniconfig/__pycache__
/usr/lib/python3.10/site-packages/py/_vendored_packages/iniconfig/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/py/_vendored_packages/iniconfig/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/py/_vendored_packages/iniconfig/py.typed
/usr/lib/python3.10/site-packages/py/_version.py
/usr/lib/python3.10/site-packages/py/_xmlgen.py
/usr/lib/python3.10/site-packages/py/error.pyi
/usr/lib/python3.10/site-packages/py/iniconfig.pyi
/usr/lib/python3.10/site-packages/py/io.pyi
/usr/lib/python3.10/site-packages/py/path.pyi
/usr/lib/python3.10/site-packages/py/py.typed
/usr/lib/python3.10/site-packages/py/test.py
/usr/lib/python3.10/site-packages/py/xml.pyi
/usr/share/doc/python3-py
/usr/share/doc/python3-py/CHANGELOG.rst
/usr/share/doc/python3-py/README.rst
/usr/share/licenses/python3-py
/usr/share/licenses/python3-py/LICENSE

References

Summary

In this tutorial we learn how to install python3-py on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).