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

Last updated: November 29,2024

1. Install "python-distro.src" package

In this section, we are going to explain the necessary steps to install python-distro.src on Oracle Linux 9

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

2. Uninstall "python-distro.src" package

This is a short guide on how to uninstall python-distro.src on Oracle Linux 9:

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

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

Last metadata expiration check: 1:27:43 ago on Thu Feb 15 07:50:05 2024.
Available Packages
Name : python-distro
Version : 1.5.0
Release : 7.el9
Architecture : src
Size : 64 k
Source : None
Repository : ol9_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.