我是靠谱客的博主 怡然万宝路,最近开发中收集的这篇文章主要介绍Debian源设置,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

全球Debian软件源镜像站点列表   www.debian.org/mirror/list

(Debian 7---------wheezy

Debian 8----------jessie)


(Debian 8

deb http://ftp.hk.debian.org/debian/ jessie main
deb-src http://ftp.hk.debian.org/debian/ jessie main

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

# jessie-updates, previously known as 'volatile'
deb http://ftp.hk.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.hk.debian.org/debian/ jessie-updates main contrib)



Debian源设置
 列表位置/etc/apt/sources.list



国内官方源可设置为(只包含稳定版):


deb http://ftp.cn.debian.org/debian wheezy main (将wheezy改为jessie,可以设置成测试版的源)
deb http://ftp.cn.debian.org/debian wheezy-uppdates main
deb http://ftp.cn.debian.org/debian wheezy-backports main


如使用 contrib和non-free在其后添加相关关键字
Contrib
放在这里的软件包是自由软件,但是它们需要倚赖一些非自由软件才能使用。
Non-Free
放在这里的软件包在使用或重新发布时 会受到某些麻烦的许可条件的限制。


deb http://ftp.cn.debian.org/debian wheezy main contrib
deb http://ftp.cn.debian.org/debian wheezy-uppdates main contrib
deb http://ftp.cn.debian.org/debian wheezy-backports main contrib
deb http://ftp.cn.debian.org/debian wheezy main non-free
deb http://ftp.cn.debian.org/debian wheezy-uppdates main non-free
deb http://ftp.cn.debian.org/debian wheezy-backports main non-free




除了以上国内源外还有
美国 
ftp.us.debian.org/debian 
http.us.debian.org/debian
台湾
ftp.tw.debian.org/debian
香港
ftp.hk.debian.org/debian

附:中国大陆源

站点 FTP  HTTP
ftp.cn.debian.org 
  (debian.ustc.edu.cn)  /debian/  /debian/amd64 armel armhf hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
debian.bjtu.edu.cn /debian/  /debian/amd64 armel armhf hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
debian.ustc.edu.cn /debian/  /debian/amd64 armel armhf hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
mirrors.163.com /debian/amd64 i386
mirrors.hust.edu.cn /debian/amd64 armel armhf hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
mirrors.sohu.com /debian//debian/amd64 i386
mirrors.tuna.tsinghua.edu.cn /debian/amd64 armel armhf hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
www.anheng.com.cn /debian//debian/amd64 armhf i386 kfreebsd-amd64 mips mipsel powerpc

最后

以上就是怡然万宝路为你收集整理的Debian源设置的全部内容,希望文章能够帮你解决Debian源设置所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(71)

评论列表共有 0 条评论

立即
投稿
返回
顶部