Linux软件源的设置方法

1 打开数据源配置文件

vi /etc/apt/sources.list

 

 

添加相关的数据源,可以选择以下的数据源,不要写太多,否则会影响更新速度。

 

之后使用apt-get update更新源列表

 

为防止非官方源中软件包不全的问题,请在sources.list文件中尾部添加一组官方源。

 

#######################################

# 163

#######################################

 

deb http://mirrors.163.com/debian/ lenny main contrib non-free

deb-src http://mirrors.163.com/debian lenny main contrib non-free

 

deb http://mirrors.163.com/debian-security/ stable/updates main

deb-src http://mirrors.163.com/debian-security/ stable/updates main

 

#######################################

# official

#######################################

 

deb http://ftp.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.debian.org/debian/ lenny main contrib non-free

 

deb http://ftp.us.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free

 

deb http://security.debian.org/ stable/updates main

deb-src http://security.debian.org/ stable/updates main

 

deb http://volatile.debian.org/debian-volatile stable/volatile main

deb-src http://volatile.debian.org/debian-volatile stable/volatile main

 

#######################################

# 台湾及大陆教育网高校等

#######################################

 

deb http://ftp.tw.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.tw.debian.org/debian lenny main contrib non-free

 

deb http://mirrors.geekbone.org/debian/ lenny main contrib non-free

deb-src http://mirrors.geekbone.org/debian/ lenny main contrib non-free

 

deb http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free

deb-src http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free

 

deb http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free

deb-src http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free

 

### ustc debian-multimedia

deb http://debian.ustc.edu.cn/debian-multimedia/ stable main

deb-src http://debian.ustc.edu.cn/debian-multimedia/ stable main

 

### ustc debian-security

deb http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib

deb-src http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib

最新文章

  1. WPF - 属性系统 (4 of 4)
  2. Node.js大众点评爬虫
  3. Oracle组合索引与回表
  4. 三维网格补洞算法(Radial Basis Function)
  5. bat 炸弹升级
  6. Swift开发iOS应用过程中的问题和解决记录
  7. 简单选择排序(Java)
  8. 解决Cannot find or open the PDB file问题
  9. [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.2.4
  10. POJ 1511 Invitation Cards dij
  11. hive union all 使用
  12. struts2系列笔记(1)
  13. request.getSession()几种获取情况之间的差异
  14. leetcode — letter-combinations-of-a-phone-number
  15. java正则表达式笔记
  16. 成功解决在Python文件上右键菜单无“Edit with IDLE”选项
  17. 仿饿了吗点餐界面两个ListView联动效果
  18. keyWindow与delegate中Window的区别
  19. day13 内置函数
  20. php的session存放数组

热门文章

  1. JOIN和UNION的区别
  2. django URL,views,html请求顺序
  3. Encryption requires the OpenSSL PHP extension 报错
  4. 深入理解typeof操作符
  5. More Effective C++ - 章节一 : 基础议题
  6. [POJ] 3539 Elevator
  7. <Spring Cloud>入门四 Feign
  8. docker快速搭建
  9. vue element-ui中引入第三方icon
  10. BootStrap学习02栅格系统