wget http://python.org/ftp/python/2.7.4/Python-2.7.4.tgz
ls
tar xzvf Python-2.7.4.tgz
cd Python-2.7.4
ls
./configure --prefix=/usr/local/python2.7.4
make && make install
whereis python
mv /usr/bin/python /usr/bin/python2.4.3
ln -s /usr/local/python2.7.4/bin/python /usr/bin/python
python -v
ls
tar xzvf Python-2.7.4.tgz
cd Python-2.7.4
ls
./configure --prefix=/usr/local/python2.7.4
make && make install
whereis python
mv /usr/bin/python /usr/bin/python2.4.3
ln -s /usr/local/python2.7.4/bin/python /usr/bin/python
python -v
history
只做记录