美文网首页app 换源
最新阿里云软件源Ubuntu 18.04源

最新阿里云软件源Ubuntu 18.04源

作者: 倚南_Determined | 来源:发表于2018-08-30 16:07 被阅读0次

    阿里云Ubuntu 18.04源

    deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

    deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

    deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

    deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

    deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

    deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

    如何更换源:

    更换apt源:(先备份一下)

    cd /etc/apt/

    sudo cp sources.list sources.list.bak && sudo vim sources.list

    删除其中所有内容,替换成最上边的源内容:(vim 下  删除所有行 的命令  :1,$d )

    然后执行

    sudo apt update

    sudo apt upgrade

    相关文章

      网友评论

        本文标题:最新阿里云软件源Ubuntu 18.04源

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