debian 9 添加源
2024-08-31 11:15:45
1.将下面内容的添加入/etc/apt/sources.list(香港镜像)
#For software
deb http://mirrors.ustc.edu.cn/debian/ stretch main
deb http://mirrors.ustc.edu.cn/debian/ stretch-updates main
deb http://mirrors.ustc.edu.cn/debian-security stretch/updates main
#For wineHQ
deb https://dl.winehq.org/wine-builds/debian/ stretch main
#For driver
deb http://httpredir.debian.org/debian/ stretch main contrib non-free
你也可以用一下命令:
echo "deb http://mirrors.ustc.edu.cn/debian/ stretch main
deb http://mirrors.ustc.edu.cn/debian/ stretch-updates main
deb http://mirrors.ustc.edu.cn/debian-security stretch/updates main
deb https://dl.winehq.org/wine-builds/debian/ stretch main
deb http://httpredir.debian.org/debian/ stretch main contrib non-free" >> /etc/apt/sources.list
2.执行更新动作
apt-get update
注意:下面是163的debian9的源(会快些毕竟国内的)
deb http://mirrors.163.com/debian/ stretch main non-free contrib
deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib
deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
最新文章
- Expression Tree 扩展MVC中的 HtmlHelper 和 UrlHelper
- location.href跳转不正确
- ios9+xcode7 适配笔记
- Oracle--10(ROW_NUMBER() OVER)
- Uniform resource name
- mysqldump 一些参数体验
- JAVA 作业:图形界面
- 使用firbug调试程序写更高质量的代码设置方法
- localStorage请使用getItem 和setITem
- [Java并发编程(四)] Java volatile 的理论实践
- Poiji:基于列名绑定方式将Excel单元行转换为JavaBean的开源框架
- HDU 3691 Nubulsa Expo(全局最小割)
- Mybatis初步详细配置
- IT公司管理发展经验
- WPF通过EventTrigger改变其他控件的值
- 利用BurpSuite实现半自动化盲注
- java获得Tomcat服务器的根目录下的内容
- Opengl---gluLookAt函数详解(转)
- 洛谷 P4128 [SHOI2006]有色图 解题报告
- php应该在何时调用mysql_close() ,可能和中断请求有关
热门文章
- N1-1 - 树 - Minimum Depth of Binary Tree
- [USACO17JAN]Promotion Counting
- iptables防火墙和selinux
- Linux下 利用find命令删除所有.svn目录
- [asp.net]ashx中session存入,aspx为null的原因(使用flash uploader)
- win7下virtualbox遇到的问题
- 11 个 Visual Studio 代码性能分析工具
- 使用Dropzone上传图片及回显演示样例
- PDF转EPUB格式电子书经验总结
- Docker推出了Docker云,给大家介绍下哈!