首页 > 学院 > 开发设计 > 正文

Ubuntu更新源来获取apt-get包

2019-11-07 23:55:08
字体:
来源:转载
供稿:网友

1.sudocp /etc/apt/sources.list /etc/apt/sources.list.old

2.sudo vim /etc/apt/source.list

3.更新源 apt-get update

deb http://mirrors.sohu.com/Ubuntu/ trusty main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ trusty-PRoposed main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表