yum安装python3.6的方法
2024-10-20 09:34:38
# centos7
# 换成阿里云的yum源
yum -y install epel-release
yum repolist
yum -y install python36
测试
[root@localhost ~]# python3
Python 3.6. (default, Aug , ::)
[GCC 4.8. (Red Hat 4.8.-)] 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//x86_64 CentOS- - Base - mirrors.aliyun.com ,
epel/x86_64 Extra Packages for Enterprise Linux - x86_64 ,
extras//x86_64 CentOS- - Extras - mirrors.aliyun.com
updates//x86_64 CentOS- - Updates - mirrors.aliyun.com
repolist: ,
[root@localhost ~]#
最新文章
- 9个让人印象深刻的网站 JS 视觉效果
- img 是内联元素
- sbt assembly build.sbt content
- IIS7配置asp网站
- Python 100道题深入理解
- 升级OSX 10.9 Mavericks后,会导致Finder始终无响应的一个问题
- Java调用Oracle存储过程过程中几个问题
- 【移动开发】安卓Lab2(02)
- (组合数学3.1.2.1)POJ 2249 Binomial Showdown(排列组合公式的实现)
- windows8 8.1 安装完 ubuntu无法挂载 ntfs分区 解决方法
- 【MongoDB】The Access control of mongodb
- VMware vSphere 服务器虚拟化之二十 桌面虚拟化之准备虚拟桌面模版
- 刚由pc端做移动端的感受
- Java将网络地址对应的图片转成本地的图片
- Apollo配置中心源码分析
- webpack3.x版本实战案例【基础配置篇】(一)
- 通过java实现解压zip,rar的代码
- CF293B Distinct Paths 搜索
- ajax上传文件及进度显示
- ObservableData-另一种姿势的观察者模式