head -n1 /etc/issue
CentOS release 6.4 (Final)
yum install wget zlib-devel cd /usr/local/src/ wget http://www.python.org/ftp/python/2.7.4/Python-2.7.4.gz tar zxvf Python-2.7.4.tgz cd Python-2.7.4 ./configure make checkinstall -R --fstrans=no --backup=yes --install=no make install rpm -ivh /root/rpmbuild/RPMS/x86_64/python27-2.7.4-1.x86_64.rpm rpm -qi python27
Name : python27 Relocations: (not relocatable)
Version : 2.7.4 Vendor: (none)
Release: 1 Build Date: May 03, 2013 22:28:01 Install Date: May 03, 2013 22:30:16 Build Host: localhost Group : Applications/System Source RPM: python27-2.7.4-1.src.rpm Size : 92263133 License: GPL Signature : (none) Packager : checkinstall-1.6.3
Recommended Posts