change python 3.5 to 3.6 ubuntu 1

change python 3.5 to 3.6 ubuntu

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2


sudo update-alternatives --config python3

Here is what the above code is Doing:
1. Installing python3.5 and python3.6
2. Setting python3.5 as the default python3
3. Setting python3.6 as the alternative python3
4. Giving you the option to choose which python3 you want to use

Similar Posts