How to Install and Uninstall python-distro.src Package on Oracle Linux 8

Last updated: May 05,2024

1. Install "python-distro.src" package

This is a short guide on how to install python-distro.src on Oracle Linux 8

$ sudo dnf update $ sudo dnf install python-distro.src

2. Uninstall "python-distro.src" package

Here is a brief guide to show you how to uninstall python-distro.src on Oracle Linux 8:

$ sudo dnf remove python-distro.src $ sudo dnf autoremove

3. Information about the python-distro.src package on Oracle Linux 8

Last metadata expiration check: 5:58:56 ago on Mon Sep 12 02:51:38 2022.
Available Packages
Name : python-distro
Version : 1.4.0
Release : 2.module+el8.3.0+7694+550a8252
Architecture : src
Size : 64 k
Source : None
Repository : ol8_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.