码迷,mamicode.com
首页 > 编程语言 > 详细

yum安装python3.6的方法

时间:2019-11-14 18:34:50      阅读:82      评论:0      收藏:0      [点我收藏+]

标签:yum安装   lease   安装python   its   ast   python   nbsp   ati   hat   

# centos7
# 换成阿里云的yum源
yum -y install epel-release
yum repolist
yum -y install python36

 

测试

[root@localhost ~]# python3
Python 3.6.8 (default, Aug  7 2019, 17:28:10) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()

[root@localhost ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: www.nic.funet.fi
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
repo id                                                        repo name                                                                                     status
base/7/x86_64                                                  CentOS-7 - Base - mirrors.aliyun.com                                                          10,097
epel/x86_64                                                    Extra Packages for Enterprise Linux 7 - x86_64                                                13,453
extras/7/x86_64                                                CentOS-7 - Extras - mirrors.aliyun.com                                                           305
updates/7/x86_64                                               CentOS-7 - Updates - mirrors.aliyun.com                                                          711
repolist: 24,566
[root@localhost ~]# 

 

yum安装python3.6的方法

标签:yum安装   lease   安装python   its   ast   python   nbsp   ati   hat   

原文地址:https://www.cnblogs.com/kaishirenshi/p/11858655.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!