Skip to content

Instantly share code, notes, and snippets.

@JeffLabonte
Created September 13, 2020 19:52
Show Gist options
  • Save JeffLabonte/7661653ff33e03d30b7969ec2248e924 to your computer and use it in GitHub Desktop.
Save JeffLabonte/7661653ff33e03d30b7969ec2248e924 to your computer and use it in GitHub Desktop.
How to set your python interpreter with debian `update-alternatives`
# Arguments rundown:
# 1 -> The symbolic link that will be created
# 2 -> the name of the alternative, in this case python
# 3 -> The executable that you want to link ( Argument #1 )
# 4 -> The priority of this alternative
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment