Centos 安装 Python3.5.5

原创 Jeff Tang  2018-04-10 10:20  阅读 291 次 次
yum install -y gcc readline readline-devel sqlite sqlite-devel openssl openssl-devel gdbm gdbm-devel bzip2 bzip2-devel tkinter tkinter-devel tcl tcl-devel tk tk-devel
mkdir -p /data0/application/python/tmp
cd /data0/application/python/tmp
wget https://www.python.org/ftp/python/3.5.5/Python-3.5.5.tgz
tar zxvf Python-3.5.5.tgz
cd Python-3.5.5
./configure --prefix=/data0/application/python/Python-3.5.5
make
make install
ln -s /data0/application/python/Python-3.5.5/bin/python3.5 /usr/bin/python3.5
ln -s /data0/application/python/Python-3.5.5/bin/pip3.5 /usr/bin/pip3.5
python3.5 --version
# Python 3.5.5

 

本文地址:https://www.easylinux.cn/archives/98
版权声明:本文为原创文章,版权归 Jeff Tang 所有,欢迎分享本文,转载请保留出处!
NEXT:已经是最新一篇了
相关文章 关键词:

发表评论


表情