博客
关于我
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/

    你可能感兴趣的文章
    Nmap端口扫描工具Windows安装和命令大全(非常详细)零基础入门到精通,收藏这篇就够了
    查看>>
    NMAP网络扫描工具的安装与使用
    查看>>
    NN&DL4.1 Deep L-layer neural network简介
    查看>>
    NN&DL4.3 Getting your matrix dimensions right
    查看>>
    NN&DL4.8 What does this have to do with the brain?
    查看>>
    No 'Access-Control-Allow-Origin' header is present on the requested resource.
    查看>>
    No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
    查看>>
    No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
    查看>>
    No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
    查看>>
    No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
    查看>>
    No module named cv2
    查看>>
    No module named tensorboard.main在安装tensorboardX的时候遇到的问题
    查看>>
    No module named ‘MySQLdb‘错误解决No module named ‘MySQLdb‘错误解决
    查看>>
    No new migrations found. Your system is up-to-date.
    查看>>
    No qualifying bean of type XXX found for dependency XXX.
    查看>>
    No resource identifier found for attribute 'srcCompat' in package的解决办法
    查看>>
    No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
    查看>>
    NO.23 ZenTaoPHP目录结构
    查看>>
    NoClassDefFoundError: org/springframework/boot/context/properties/ConfigurationBeanFactoryMetadata
    查看>>
    Node JS: < 一> 初识Node JS
    查看>>