解压文件
tar -xf Python-3.3.tar.gz
cd Python-3.3
安装
./configure --prefix=/usr/local/python
make && make install
配置
mv /usr/bin/python /usr/bin/pytho_old
ln -s /usr/local/python/bin/python3 /usr/bin/python
转载于:https://blog.51cto.com/4620226/1605127
解压文件
tar -xf Python-3.3.tar.gz
cd Python-3.3
安装
./configure --prefix=/usr/local/python
make && make install
配置
mv /usr/bin/python /usr/bin/pytho_old
ln -s /usr/local/python/bin/python3 /usr/bin/python
转载于:https://blog.51cto.com/4620226/1605127