1sudo update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.6 0
2
3
4How it works
5sudo update-alternative --install <link> <name> <path> <priority>
6
7how to check what is the priority list ?
8
9sudo update-alternatives --config python3