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

Last updated: May 03,2024

1. Install "python2-distro.noarch" package

This guide let you learn how to install python2-distro.noarch on CentOS 7 / RHEL 7

$ sudo yum makecache $ sudo yum install python2-distro.noarch

2. Uninstall "python2-distro.noarch" package

Learn how to uninstall python2-distro.noarch on CentOS 7 / RHEL 7:

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

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

Installed Packages
Name : python2-distro
Arch : noarch
Version : 1.2.0
Release : 3.el7
Size : 135 k
Repo : installed
From repo : 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.