美文网首页
Ubuntu 切换软件源

Ubuntu 切换软件源

作者: 是瑞瀛呀 | 来源:发表于2019-03-17 01:37 被阅读0次

1.切换163源
mv /etc/apt/sources.list /etc/apt/sources.list.bak &&
echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.list &&
echo "deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list &&
echo "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >>/etc/apt/sources.list &&
echo "deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list

相关文章

网友评论

      本文标题:Ubuntu 切换软件源

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