How to Install and Uninstall python3-distro.noarch Package on Red Hat Enterprise Linux 8 (RHEL 8)

Last updated: October 07,2024

1. Install "python3-distro.noarch" package

This guide let you learn how to install python3-distro.noarch on Red Hat Enterprise Linux 8 (RHEL 8)

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

2. Uninstall "python3-distro.noarch" package

Please follow the steps below to uninstall python3-distro.noarch on Red Hat Enterprise Linux 8 (RHEL 8):

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

3. Information about the python3-distro.noarch package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 0:54:00 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : python3-distro
Version : 1.4.0
Release : 2.module+el8.9.0+20976+d3c38525
Architecture : noarch
Size : 37 k
Source : python-distro-1.4.0-2.module+el8.9.0+20976+d3c38525.src.rpm
Repository : ubi-8-appstream-rpms
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.