如何更改源地址

直接编辑:sudo /etc/apt/sources.list文件

deb http://源地址/ubuntu/ xenial main universe restricted  multiverse

deb http://源地址/ubuntu/ xenial-updates main  universe restricted multiverse

deb http://源地址/ubuntu/ xenial-backports main restricted universe multiverse

deb http://源地址/ubuntu/ xenial-security main  universe  restricted multiverse

deb http://源地址/ubuntu/ xenial-proposed main  universe  restricted multiverse

改完后运行:sudo apt-get update更新索引


===========我是华丽的分割线===========


更多知识:
点击关注专题:嵌入式Linux&ARM

或浏览器打开:https://www.jianshu.com/c/42d33cadb1c1

或扫描二维码:

6217760-fb25d7cd85861e9a.jpg
扫我

原文地址:https://www.cnblogs.com/leon1124/p/14039708.html