Skip to content

Instantly share code, notes, and snippets.

@liuyanghejerry
Created December 4, 2015 15:57
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 liuyanghejerry/bd41016ce5675bdacbdb to your computer and use it in GitHub Desktop.
Save liuyanghejerry/bd41016ce5675bdacbdb to your computer and use it in GitHub Desktop.
Safely install Python 2.7 on CentOS 6.5+
yum install centos-release-SCL
yum install python27 python27-scldevel
# then add those line to your .bash_rc or .bash_profile
# note that space between dot and slash
# . /opt/rh/python27/enable
# Or if you want a better solution: http://developerblog.redhat.com/2014/03/19/permanently-enable-a-software-collection/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment