Skip to content

Instantly share code, notes, and snippets.

@jimyang2008
Created February 25, 2019 04:13
Show Gist options
  • Save jimyang2008/f012e7dd371e67f2e89eb7886701115b to your computer and use it in GitHub Desktop.
Save jimyang2008/f012e7dd371e67f2e89eb7886701115b to your computer and use it in GitHub Desktop.
Install Python 2.7 on CentOS 6/7
curl -LOk https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz
tar -zf Python-2.7.15.tgz
cd Python.2.7.15
./configure --enable-optimization
make altinstall
curl -LOk https://bootstrap.pypa.io/get-pip.py
python2.7 get-pip.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment