Sunday, December 27, 2020

Correct Way to Make Python3 Default on Linux

 Correct Way to Make Python3 Default on Linux


# update-alternatives --install /usr/bin/python python /usr/bin/python3 1

# update-alternatives --list|grep -i python

python  auto    /usr/bin/python3

# python
Python 3.6.8 (default, Oct  1 2020, 20:32:44)


Popular Posts