美文网首页LINUX系统相关
红帽redhat 8.0 一些变化

红帽redhat 8.0 一些变化

作者: 远or广 | 来源:发表于2019-05-01 09:59 被阅读0次

    想要使用 Python,需要指定 Python3 或者 Python2。

     yum install python 将返回 404,因为它同样需要指定安装版本。

    建议使用 yum install @python36 或 yum install @python27 安装推荐软件包,

    需要 Python 二进制文件,可以使用 yum install python3 或 yum install python2。

    pip 等工具也有变化,比如 Python3 将安装在 pip3 路径下,而不是没有版本指定的 pip 路径。


    DNF替代YUM包管理

    DNF较YUM最大的优点在于如果配置和启用的库没有响应,dnf将跳过它并使用可用的repos继续事务,

    不像YUM,如果配置库不可用,yum将立即停止工作。

    参考链接

    https://www.oschina.net/news/102857/no-python-in-rhel-8

    https://zhuanlan.zhihu.com/p/54056012

    相关文章

      网友评论

        本文标题:红帽redhat 8.0 一些变化

        本文链接:https://www.haomeiwen.com/subject/hluinqtx.html