python2.7 升级到 python3.6
2021-03-11 12:33
阅读:374
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-develxz-devel gcc mkdir /usr/download cd /usr/download wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz tar -xvf Python-3.6.4.tgz mkdir /usr/local/python3 cd Python-3.6.4 ./configure --prefix=/usr/local/python3 make make install ln -s /usr/local/python3/bin/python3 /usr/bin/python mv /usr/bin/python /usr/bin/python_bak ln -s /usr/local/python3/bin/python3 /usr/local/bin/python [root@do1cloud03 ~]# python
python2.7 升级到 python3.6
标签:-- load mkdir local config nss curses zlib python2
原文地址:https://www.cnblogs.com/lixiuran/p/14128313.html
上一篇:Java基础5--方法
下一篇:SpringBoot运行原理
评论
亲,登录后才可以留言!