美文网首页
MX Linux 换华为源

MX Linux 换华为源

作者: wlianfu | 来源:发表于2020-06-06 23:48 被阅读0次

    基本上安完linux都得换源,否则更新个软件列表都得绕地球好几圈...

    切换目录

    cd /etc/apt/sources.list.d/

    antix.list

    # Use with Debian Stable/buster repositories.
    deb https://mirrors.huaweicloud.com/mxlinux/antix/buster buster main
    #deb http://iso.mxrepo.com/antix/buster buster main
    #deb-src http://iso.mxrepo.com/antix/buster buster main
    

    debian.list

    # Debian Stable.
    deb https://mirrors.huaweicloud.com/debian buster main contrib non-free
    deb https://mirrors.huaweicloud.com/debian-security buster/updates main contrib non-free
    
    #deb http://deb.debian.org/debian buster main contrib non-free
    #deb http://deb.debian.org/debian-security buster/updates main contrib non-free
    #deb-src http://deb.debian.org/debian buster main contrib non-free
    
    #buster backports
    #deb http://deb.debian.org/debian buster-backports main contrib non-free
    

    debian-stable-updates.list

    # Debian buster Updates
    deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free
    #deb http://deb.debian.org/debian buster-updates main contrib non-free
    

    mx.list

    # MX Community Main and Test Repos
    deb https://mirrors.huaweicloud.com/mxlinux/mx/repo buster main non-free
    #deb http://mxrepo.com/mx/repo/ buster main non-free
    #deb http://mxrepo.com/mx/testrepo/ buster test
    #ahs hardware stack repo
    deb https://mirrors.huaweicloud.com/mxlinux/mx/repo/ buster ahs
    #deb http://mxrepo.com/mx/repo/ buster ahs
    

    刷新软件包

    sudo apt update

    相关文章

      网友评论

          本文标题:MX Linux 换华为源

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