Centos 安装 Python3.6.5

原创 Jeff Tang  2018-04-02 15:12  阅读 333 次 次
yum install 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.6.5/Python-3.6.5.tgz
tar zxvf Python-3.6.5.tgz
cd Python-3.6.5
./configure --prefix=/data0/application/python/Python-3.6.5
make
make install
ln -s /data0/application/python/Python-3.6.5/bin/python3.6 /usr/bin/python3.6 
ln -s /data0/application/python/Python-3.6.5/bin/pip3.6 /usr/bin/pip3.6
python3.6 --version
# Python 3.6.5

 

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

发表评论


表情