Install python 2.7 on CentOS


SUBMITTED BY: Guest

DATE: Nov. 12, 2013, 8:47 p.m.

FORMAT: Text only

SIZE: 204 Bytes

HITS: 734

  1. #/bin/sh
  2. yum install gcc
  3. cd /usr/src
  4. wget http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz
  5. tar -xzf Python-2.7.5.tgz
  6. cd Python-2.7.5
  7. ./configure
  8. make altinstall
  9. python2.7 -V

comments powered by Disqus