Skip to content

Instantly share code, notes, and snippets.

@vietdien2005
Last active August 21, 2017 14:01
Show Gist options
  • Save vietdien2005/e66418279afef915604154649276ca97 to your computer and use it in GitHub Desktop.
Save vietdien2005/e66418279afef915604154649276ca97 to your computer and use it in GitHub Desktop.
Upgrade Python 2.6 to Python 2.7 on Centos 6.6

Upgrade Python 2.6 to Python 2.7 on Centos 6.6

  sudo yum update # Update yum
  sudo yum install centos-release-scl # Install SCL 
  sudo yum install python27 # Install Python 2.7

To use it, you essentially spawn another shell (or script) while enabling the newer version of Python:

  scl enable python27 bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment