码迷,mamicode.com
首页 > 其他好文 > 详细

debian 9 添加源

时间:2018-10-02 22:17:48      阅读:744      评论:0      收藏:0      [点我收藏+]

标签:echo   http   update   debian   wine   style   sources   .debian   apt   

1.将下面内容的添加入/etc/apt/sources.list

deb http://ftp.cn.debian.org/debian/ stretch main
deb http://ftp.cn.debian.org/debian/ stretch-updates main
deb http://ftp.cn.debian.org/debian-security stretch/updates main
deb https://dl.winehq.org/wine-builds/debian/ stretch main

你也可以用一下命令:

echo "deb http://ftp.cn.debian.org/debian/ stretch main
deb http://ftp.cn.debian.org/debian/ stretch-updates main
deb http://ftp.cn.debian.org/debian-security stretch/updates main
deb https://dl.winehq.org/wine-builds/debian/ stretch main" >> /etc/apt/sources.lsit

2.执行更新动作

apt-get update

 

debian 9 添加源

标签:echo   http   update   debian   wine   style   sources   .debian   apt   

原文地址:https://www.cnblogs.com/SirPi/p/9737957.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!