标签:解压 sqlite 编译安装 dir ssl python3 python openssl readline
一、下载python软件包在官网下载源码tar包
https://www.python.org/downloads/source/
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make libffi-devel
tar xf Python-3.7.3.tar.xz
mkdir /usr/local/python3
cd Python-3.7.3/
./configure prefix=/usr/local/python3
make && make install
ln -s /usr/local/python3/bin/python3 /usr/bin/python3
#python2查看版本
python -V
#python3查看版本
python3 -V
标签:解压 sqlite 编译安装 dir ssl python3 python openssl readline
原文地址:https://blog.51cto.com/jinkcloud/2408286