How to Install and Uninstall python3-distro.noarch Package on CentOS Stream 8

Last updated: October 06,2024

1. Install "python3-distro.noarch" package

This guide covers the steps necessary to install python3-distro.noarch on CentOS Stream 8

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

2. Uninstall "python3-distro.noarch" package

Here is a brief guide to show you how to uninstall python3-distro.noarch on CentOS Stream 8:

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

3. Information about the python3-distro.noarch package on CentOS Stream 8

Last metadata expiration check: 5:30:17 ago on Sun Feb 25 03:03:59 2024.
Available Packages
Name : python3-distro
Version : 1.4.0
Release : 2.module_el8+762+77bd8591
Architecture : noarch
Size : 37 k
Source : python-distro-1.4.0-2.module_el8+762+77bd8591.src.rpm
Repository : appstream
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 3 version.