ubuntu更换下载源
生活随笔
收集整理的這篇文章主要介紹了
ubuntu更换下载源
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
簡言
筆者操作系統(tǒng)環(huán)境:ubuntu16.04
更換的源改為:清華大學(xué)的下載源
?
操作
1. vim?/etc/apt/sources.list 即打開下載源的文件,改為如下內(nèi)容
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricteddeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricteddeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiversedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiversedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiversedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricteddeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universe deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security multiverse2.?sudo apt-get update 即刷新
總結(jié)
以上是生活随笔為你收集整理的ubuntu更换下载源的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 记一次ubuntu阿里的下载源的问题
- 下一篇: ubuntu安装redis 详细步骤