How to Install and Uninstall python2-distro.noarch Package on CentOS 8 / RHEL 8

Last updated: July 03,2024

1. Install "python2-distro.noarch" package

Learn how to install python2-distro.noarch on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install python2-distro.noarch

2. Uninstall "python2-distro.noarch" package

Please follow the guidelines below to uninstall python2-distro.noarch on CentOS 8 / RHEL 8:

$ sudo dnf remove python2-distro.noarch $ sudo dnf autoremove

3. Information about the python2-distro.noarch package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 7:41:03 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : python2-distro
Version : 1.4.0
Release : 1.el8
Architecture : noarch
Size : 35 k
Source : python-distro-1.4.0-1.el8.src.rpm
Repository : epel
Summary : Linux Distribution - a Linux OS platform information API
URL : https://github.com/nir0s/distro
License : ASL 2.0
Description : The distro (for: Linux Distribution) package provides information about the
: Linux distribution it runs on, such as a reliable machine-readable ID, or
: version information.
:
: It is a renewed alternative implementation for Python's original
: platform.linux_distribution function, but it also provides much more
: functionality. An alternative implementation became necessary because
: Python 3.5 deprecated this function, and Python 3.7 is expected to remove it
: altogether. Its predecessor function platform.dist was already deprecated since
: Python 2.6 and is also expected to be removed in Python 3.7. Still, there are
: many cases in which access to that information is needed. See Python issue 1322
: for more information.
:
: Python 2 version.