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

Last updated: July 02,2024

1. Install "python3-distro.noarch" package

Learn how to install python3-distro.noarch on Red Hat Enterprise Linux 9 (RHEL 9)

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

2. Uninstall "python3-distro.noarch" package

This is a short guide on how to uninstall python3-distro.noarch on Red Hat Enterprise Linux 9 (RHEL 9):

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

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

Last metadata expiration check: 1:12:31 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : python3-distro
Version : 1.5.0
Release : 7.el9
Architecture : noarch
Size : 40 k
Source : python-distro-1.5.0-7.el9.src.rpm
Repository : ubi-9-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.