首页 > 编程语言 > 详细

Centos7 安装Python3.7

时间:2019-02-12 16:33:01      阅读:80      评论:0      收藏:0      [点我收藏+]

标签:sqli   https   epo   fix   libpcap   config   python   ffi   python2   

# 更改yum源 cd /etc/yum.repos.d mv CentOS-Base.repo CentOS-Base.repo.bak wget -O CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum clean all yum makecache # 安装依赖、下载安装Python yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz tar xf Python-3.7.2.tgz cd Python-3.7.2 ./configure --prefix=/usr/local/python3 echo $? make && make install echo $? ln -s /usr/local/python3/bin/python3.7 /usr/local/bin/python3.7 # 检查安装 python2.7和3.7版本同时安装在系统中 python -V Python 2.7.5 python3.7 -V Python 3.7.2

Centos7 安装Python3.7

标签:sqli   https   epo   fix   libpcap   config   python   ffi   python2   

原文:http://blog.51cto.com/79240305/2349412

(0)
(0)
   
举报
评论 一句话评论(0
0条  
登录后才能评论!
© 2014 bubuko.com 版权所有 鲁ICP备09046678号-4
打开技术之扣,分享程序人生!
             

鲁公网安备 37021202000002号