Chinaunix首页 | 论坛 | 博客
  • 博客访问: 693571
  • 博文数量: 98
  • 博客积分: 3145
  • 博客等级: 中校
  • 技术积分: 1902
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-15 12:52
文章分类
文章存档

2021年(1)

2020年(1)

2016年(8)

2015年(3)

2014年(1)

2013年(5)

2012年(4)

2011年(9)

2010年(12)

2009年(42)

2008年(12)

我的朋友

分类: LINUX

2020-06-09 11:48:41


通常我们都是通过ius源,使用yum方式安装新版的php/python/mysql等软件,目前网络上的教程都已经发生了变化,很多都不可用了,本文记录一下最新的yum方式安装python3.6,可以通过以下操作:
centos6:
# yum install
# yum install python36u python36u-devel python36-pip
centos7:
# yum install
yum install python36u python36u-devel python36-pip

测试是否正常:
# yum install yum-utils
# yum-config-manager --enable ius-testing
检查结果:
Loaded plugins: fastestmirror
Repository epel is listed more than once in the configuration
================================================================================ repo: ius-testing ================================================================================
[ius-testing]
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/6
baseurl =
cache = 0
cachedir = /var/cache/yum/x86_64/6/ius-testing
cost = 1000
enabled = 1
enablegroups = True
exclude = 
failovermethod = priority
ftp_disable_epsv = False
gpgcadir = /var/lib/yum/repos/x86_64/6/ius-testing/gpgcadir
gpgcakey = 
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/6/ius-testing/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-6
hdrdir = /var/cache/yum/x86_64/6/ius-testing/headers
http_caching = all
includepkgs = 
keepalive = True
mdpolicy = group:primary
mediaid = 
metadata_expire = 21600
metalink = 
mirrorlist = 
mirrorlist_expire = 86400
name = IUS for Enterprise Linux 6 - Testing - x86_64
old_base_cache_dir = 
password = 
persistdir = /var/lib/yum/repos/x86_64/6/ius-testing
pkgdir = /var/cache/yum/x86_64/6/ius-testing/packages
proxy = False
proxy_dict = 
proxy_password = 
proxy_username = 
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert = 
sslclientcert = 
sslclientkey = 
sslverify = True
throttle = 0
timeout = 30.0
username = 

阅读(2871) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~