为什么yum安装python3安装python3.6

问题描述 投票:0回答:1

[我注意到yum install python3apt-get install python3 python 3.6,但我不明白为什么要安装此特定版本; 3.8是python的最新版本。为什么会选择特定的3.6

python linux yum
1个回答
0
投票

这仅取决于您使用的操作系统。每个操作系统都打包一定版本的python并坚持使用。例如:

  • CentOS 7:python 3.6
  • CentOS 8:python 3.6
  • Ubuntu 16.04:python 3.5
  • Ubuntu 18.04:python 3.6
  • Ubuntu 20.04:python 3.8

注意:有些操作系统使用滚动发行版,因此将更新其默认的python版本,但这很少见。

© www.soinside.com 2019 - 2024. All rights reserved.