How to Install and Uninstall python2-distro Package on openSUSE Leap

Last updated: November 14,2024

1. Install "python2-distro" package

This is a short guide on how to install python2-distro on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-distro

2. Uninstall "python2-distro" package

Please follow the steps below to uninstall python2-distro on openSUSE Leap:

$ sudo zypper remove python2-distro

3. Information about the python2-distro package on openSUSE Leap

Information for package python2-distro:
---------------------------------------
Repository : Main Repository
Name : python2-distro
Version : 1.5.0-3.5.1
Arch : noarch
Vendor : SUSE LLC
Installed Size : 158,2 KiB
Installed : No
Status : not installed
Source package : python-distro-1.5.0-3.5.1.src
Summary : Linux Distribution - a Linux OS platform information API
Description :
distro (for: Linux Distribution) 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 which isn't necessarily Python bound like a command-line interface.

5. The same packages on other Linux Distributions