Arch Linux drops Python 2
Arch Linux drops Python 2
Posted Sep 23, 2022 19:42 UTC (Fri) by tome (subscriber, #3171)In reply to: Arch Linux drops Python 2 by rahulsundaram
Parent article: Arch Linux drops Python 2
/usr/bin/python is a symlink to /usr/bin/python3 on all my fedoras, and it was done by package upgrades, not by me manually. It might depend on the fact that somewhere along the way I removed all python2 packages, but I can't remember in what order things were done. I'll look in my dnf histories if anyone is interested.
Posted Sep 23, 2022 20:02 UTC (Fri)
by tome (subscriber, #3171)
[Link] (2 responses)
Posted Sep 24, 2022 16:14 UTC (Sat)
by mattdm (subscriber, #18)
[Link]
Fedora Linux 31 change: https://fedoraproject.org/wiki/Changes/Python_means_Python3
Posted Sep 24, 2022 16:38 UTC (Sat)
by rahulsundaram (subscriber, #21946)
[Link]
This prompted me to look again. Apparently, the defaults vary depending on how you are using it, in the official containers published by the project, this package isn't installed by default and therefore "python" just says command not installed and works similar to RHEL8 (which also doesn't have /usr/bin/python by default either). If you have been upgrading from Fedora prior to when this change was introduced, it doesn't appear to be installed. However in a fresh installation of Fedora 36 it does show up.
Arch Linux drops Python 2
For the historical record...
Arch Linux drops Python 2