博客
关于我
ubuntu系统下如何安装yum命令
阅读量:737 次
发布时间:2019-03-21

本文共 357 字,大约阅读时间需要 1 分钟。

  • 寻找镜像源

    在网上搜索,清华大学的镜像站比较靠谱,官网链接是清华大学镜像网站。进入网站后,找到Ubuntu镜像,点击旁边的小问号,选择你要用的版本,记住这个地址备用。

  • 备份原源

    用TERMINAL输入:
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
    保存了原来的镜像源地址。

  • 3.修改源地址

    打开源文件:
    sudo edit /etc/apt/sources.list
    输入清华镜像站的URL,确保格式正确,保存修改。

    1. 更新源

      输入:
      sudo apt-get update
      等待更新完成,说明源切换成功。

    2. 安装YUM

      输入:
      sudo apt-get install yum
      安装完成后,你可以用YUM命令管理包了。

    3. 希望这些步骤能帮到你!

    转载地址:http://okrgz.baihongyu.com/

    你可能感兴趣的文章
    Oracle:ORA-00911: 无效字符
    查看>>
    Text-to-Image with Diffusion models的巅峰之作:深入解读 DALL·E 2
    查看>>
    TCP基本入门-简单认识一下什么是TCP
    查看>>
    tableviewcell 中使用autolayout自适应高度
    查看>>
    Symbolic Aggregate approXimation(SAX,符号聚合近似)介绍-ChatGPT4o作答
    查看>>
    Orcale表被锁
    查看>>
    svn访问报错500
    查看>>
    Orderer节点启动报错解决方案:Not bootstrapping because of 3 existing channels
    查看>>
    org.apache.ibatis.exceptions.PersistenceException:
    查看>>
    org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned
    查看>>
    org.apache.ibatis.type.TypeException: Could not resolve type alias 'xxxx'异常
    查看>>
    org.apache.poi.hssf.util.Region
    查看>>
    org.apache.xmlbeans.XmlOptions.setEntityExpansionLimit(I)Lorg/apache/xmlbeans/XmlOptions;
    查看>>
    org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
    查看>>
    org.hibernate.HibernateException: Unable to get the default Bean Validation factory
    查看>>
    org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
    查看>>
    SQL-CLR 类型映射 (LINQ to SQL)
    查看>>
    org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
    查看>>
    org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
    查看>>
    org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size exceeded
    查看>>