How To Install Distro In Debian, Ubuntu, Arch, Kali, Fedora And Raspbian?

How To Install Distro In Debian, Ubuntu, Arch, Kali, Fedora And Raspbian?

distro

Linux OS platform information API

Maintainer: Debian Python Modules Team



Section: python

Install distro

  • Debian apt-get install python3-distro Click to copy
  • Ubuntu apt-get install python3-distro Click to copy
  • Arch Linux pacman -S python3-distro Click to copy
  • Kali Linux apt-get install python3-distro Click to copy
  • Fedora dnf install python3-distro Click to copy
  • Raspbian apt-get install python3-distro Click to copy

python3-distro

Linux OS platform information API

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. This is the Python 3 version of the library.

python-distro

Linux OS platform information API

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. This is the Python 2 version of the library.

Installing distro command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of distro 2026 package in your OS.