How To Install python3-pkginfo on Fedora 36

In this tutorial we learn how to install python3-pkginfo in Fedora 36. python3-pkginfo is Query metadata from sdists / bdists / installed packages

Introduction

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

What is python3-pkginfo

This package provides an API for querying the distutils metadata written in the PKG-INFO file inside a source distribution (an sdist) or a binary distribution (e.g., created by running bdist_egg). It can also query the EGG-INFO directory of an installed distribution, and the *.egg-info stored in a “development checkout” (e.g, created by running setup.py develop).

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

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

sudo dnf -y install python3-pkginfo

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

sudo yum -y install python3-pkginfo

How To Uninstall python3-pkginfo on Fedora 36

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

sudo dnf remove python3-pkginfo

python3-pkginfo Package Contents on Fedora 36

/usr/bin/pkginfo
/usr/lib/python3.10/site-packages/pkginfo
/usr/lib/python3.10/site-packages/pkginfo-1.8.2-py3.10.egg-info
/usr/lib/python3.10/site-packages/pkginfo-1.8.2-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/pkginfo-1.8.2-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/pkginfo-1.8.2-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/pkginfo-1.8.2-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/pkginfo-1.8.2-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/pkginfo-1.8.2-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/pkginfo-1.8.2-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pkginfo/__init__.py
/usr/lib/python3.10/site-packages/pkginfo/__pycache__
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/_compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/_compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/bdist.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/bdist.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/commandline.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/commandline.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/develop.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/develop.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/distribution.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/distribution.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/index.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/index.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/installed.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/installed.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/sdist.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/sdist.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/wheel.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pkginfo/__pycache__/wheel.cpython-310.pyc
/usr/lib/python3.10/site-packages/pkginfo/_compat.py
/usr/lib/python3.10/site-packages/pkginfo/bdist.py
/usr/lib/python3.10/site-packages/pkginfo/commandline.py
/usr/lib/python3.10/site-packages/pkginfo/develop.py
/usr/lib/python3.10/site-packages/pkginfo/distribution.py
/usr/lib/python3.10/site-packages/pkginfo/index.py
/usr/lib/python3.10/site-packages/pkginfo/installed.py
/usr/lib/python3.10/site-packages/pkginfo/sdist.py
/usr/lib/python3.10/site-packages/pkginfo/utils.py
/usr/lib/python3.10/site-packages/pkginfo/wheel.py
/usr/share/doc/python3-pkginfo
/usr/share/doc/python3-pkginfo/CHANGES.txt
/usr/share/doc/python3-pkginfo/README.txt
/usr/share/licenses/python3-pkginfo
/usr/share/licenses/python3-pkginfo/LICENSE.txt

References

Summary

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