版本 | 版本號 | 代號 |
---|---|---|
Lucid(10.04) | 10.04 | lucid |
Precise(12.04): precise | 12.04 | precise |
Trusty(14.04): trusty | 14.04 | trusty |
Utopic(14.10): utopic | 14.10 | utopic |
Ubuntu 16.04 TLS: xenial | 16.04 | xenial |
Ubuntu 18.04 TLS: bionic | 18.04 | bionic |
Ubuntu 18.04 TLS版本阿里云鏡像源:
# https://opsx.alibaba.com/mirror deb https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse # 仿照清華鏡像源,注釋了源碼鏡像以提高 apt update 速度,如有需要可自行取消注釋 # deb-src https://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse # deb-src https://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse # deb-src https://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse # deb-src https://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse # deb-src https://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
Ubuntu 18.04 TLS版本清華鏡像源:
# https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ # 默認(rèn)注釋了源碼鏡像以提高 apt update 速度,如有需要可自行取消注釋 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse # 預(yù)發(fā)布軟件源,不建議啟用 # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
4. 刷新列表,一定要執(zhí)行刷新
sudo apt-get update sudo apt-get upgrade sudo apt-get install build-essential
5. 參考
修改ubuntu的sources.list源
修改ubuntu的sources.list源
如何修改Ubuntu的源列表(source list)
到此這篇關(guān)于修改ubuntu 18.04的sources.list源為阿里或清華鏡像的方法的文章就介紹到這了,更多相關(guān)ubuntu18.04 sources.list內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
標(biāo)簽:云南 佛山 晉中 畢節(jié) 巴中 安陽 南寧 衡水
巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《修改ubuntu 18.04的sources.list源為阿里或清華鏡像的方法》,本文關(guān)鍵詞 修改,ubuntu,18.04,的,sources.list,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。