How To Install python3-pkginfo on AlmaLinux 8
Introduction
In this tutorial we learn how to install python3-pkginfo
on AlmaLinux 8.
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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pkginfo.
Install python3-pkginfo on AlmaLinux 8 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 AlmaLinux 8 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 AlmaLinux 8
To uninstall only the python3-pkginfo
package we can use the following command:
sudo dnf remove python3-pkginfo
References
Summary
In this tutorial we learn how to install python3-pkginfo
on AlmaLinux 8 using yum and dnf.