python-distro-cli - Linux Distribution - a Linux OS platform information API

Distribution: Mageia 6.0
Repository: Mageia Core i586
Package name: python-distro-cli
Package version: 1.0.2
Package release: 5.mga6
Package architecture: noarch
Package type: rpm
Installed size: 297 B
Download size: 7.33 KB
Official Mirror:
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. This package provides the /usr/bin/distro CLI utility.



  • python-distro-cli == 1.0.2-5.mga6

    Install Howto

    1. Enable Mageia Core repository on "Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install python-distro-cli rpm package:
      # urpmi python-distro-cli


    • /usr/bin/distro


    2017-03-16 - ngompa <ngompa> 1.0.2-5.mga6 + Revision: 1093149 - Port to Mageia - imported package python-distro