
On Wed, May 11, 2022 at 06:04:43PM -0400, Giles Orr via talk wrote:
That actually makes sense. Then the next one can be 'python4' without causing problems. But many distros - and many system administrators will probably just make it 'python'. <sigh>
Yup. Here's Fedora 35:
$ which python /usr/bin/python $ python --version Python 3.10.4
Debian is guilty of the same thing - which is interesting, because Ubuntu is based on Debian and would have had to take a detour to "do the right thing."
This is Debian: lsorense@W530:~$ python --version -bash: python: command not found lsorense@W530:~$ python3 --version Python 3.9.2 lsorense@W530:~$
Debian and Fedora both also have /usr/bin/python3.
Debian has that, but not /usr/bin/python unless the user changed it. Both Debian an Ubuntu have a package you can install named: python-is-python3 which installs a symlink. There is also a python-is-python2 package. -- Len Sorensen