Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gravitymonkey/9ef333ab7b58ba710e2b4ef894282e76 to your computer and use it in GitHub Desktop.
Save gravitymonkey/9ef333ab7b58ba710e2b4ef894282e76 to your computer and use it in GitHub Desktop.
# set it to python 2
rm /usr/bin/python
ln -s /usr/bin/python2.7 /usr/bin/python
python --version
yum update
# set it to python 3
rm /usr/bin/python
ls /usr/bin/python*
ln -s /usr/bin/python3.7 /usr/bin/python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment