Linux学习|Gentoo/Arch/FreeBSDLinuxLinux学习之路

如何更改源地址

2019-12-01  本文已影响0人  Leon_Geo

直接编辑: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
CSDN博客
简书博客


上一篇 下一篇

猜你喜欢

热点阅读