How To Install Distro2 On Arch And Fedora?
Install distro2
-
Arch Linux
pacman -S python2-distroClick to copy -
Fedora
dnf install python2-distroClick to copy
python2-distro
The distro (for: Linux Distribution) package provides informationabout 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. Python 2 version.
Installation of latest distro2 command is available for Arch and Fedora. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




