Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@milkpirate
Last active March 28, 2019 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milkpirate/477748634876184c2ca9e099fbb20cc2 to your computer and use it in GitHub Desktop.
Save milkpirate/477748634876184c2ca9e099fbb20cc2 to your computer and use it in GitHub Desktop.
Python update alternatives - summary
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2
update-alternatives --list python
sudo update-alternatives --config python
sudo update-alternatives --set pager /bin/less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment