标签:
2.1下载Python2.7.6.tgz、ipython1.2.1.tgz、sqlite-autoconf-3071401.tar.gz
2.2安装Python2.7.6、ipython1.2.1.tgz、sqlite-autoconf-3071401.tar.gz
2.3安装前准备
yum -y install readline-devel gcc
2.4编译安装Python2.7.6
tar -zxvf Python2.7.6.tgz
cd Python2.7.6
./configure --prefix=/usr/local/python27
make && make install
2.5编译安装ipython1.2.1
tar -zxvf ipython1.2.1.tgz
cd ipython1.2.1
/usr/local/python27/bin/python2.7 setup.py build
/usr/local/python27/bin/python2.7 setup.py install
2.6创建链接
ln -sv /usr/local/python27/bin/python2.7 /usr/bin/python27
ln -sv /usr/local/python27/bin/ipython /usr/bin/
2.7编译安装sqlplit-autoconf
tar -zxvf sqlite-autoconf-3071401.tar.gz
cd sqlite-autoconf-3071401
./configure --prefix=/usr/local
make && make install
标签:
原文地址:http://www.cnblogs.com/flyback/p/5836187.html