Created
December 4, 2015 15:57
-
-
Save liuyanghejerry/bd41016ce5675bdacbdb to your computer and use it in GitHub Desktop.
Safely install Python 2.7 on CentOS 6.5+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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