Debian 安装资源

一. CD/DVD下载:

1.官方资源:

http://www.debian.org/CD/


2.国内资源:

http://ftp.cdut.edu.cn/pub/linux/distribution/debian/

http://mirrors.cn99.com/debian-cd/

http://mirrors.geekbone.org/debian-cd/

ftp://deb.ustcsz.edu.cn/debian-cd/

http://www.cwinl.com/

ftp://218.22.45.5/

http://ftp.debian.org.cn/mirror/debian/

http://mirror.dlut.edu.cn/


二. 添加安装源(/etc/apt/sources.list )

格式:

1.添加本地源

本地资源目录格式:

参阅图片:

http://www.linuxsir.org/bbs/attachm...achmentid=29047

2.添加网络源

网络资源目录格式:

参阅图片:

http://www.linuxsir.org/bbs/attachm...achmentid=29048


三. 优化您的安装源:

1. apt-spy 方式:

`apt-spy'会根据站点回应时间和带宽自动创建`sources.list'。


代码:

#apt-get install apt-spy

#mv sources.list sources.list.bak //backup

#man apt-spy  //获取详细的使用方法

#apt-spy update //更新您的镜像列表文件 /var/lib/apt-spy/mirrors.txt

# apt-spy -d testing  -a Asia

//在亚洲区寻找速度最快的testing版镜像,并生成 sources.list文件,也可使用 -o 参数指定写入文件



注意,这是一个漫长,确实一劳永逸的过程.


2. netselect-apt方式:

`netselect-apt'会创建一个更完整的`sources.list'文件,但它使用更落后的方法来选择镜像站点


代码:

#apt-get install netselect-apt

#mv sources.list sources.list.bak //backup

#man netselect-apt  //获取详细的使用方法

# netselect-apt -s testing

//下载http: //www.debian.org/mirror/list-full文件,并根据其内容测试网络,生成sources.list

也可将下载http://www.debian.org/mirror/list-full手动下载到本地, 并同过参数 -i 指定

同样可以通过 -o 参数指定输出文件而不是默认的sources.list



四. 常用安装源

1. 国内安装源:

注:基于国内镜像在稳定和及时同步上可能无法保证,建议使用官方源


ftp://ftp.linuxforum.net/debian/

http://mirrors.geekbone.org/

http://debian.cn99.com/


2. 教育网安装源

http://mirror.dlut.edu.cn/

ftp://debian.ustc.edu.cn/sources.list/

ftp://debian.ujn.edu.cn/


几个有用的非官方安装源:

注:在您查看此文档时不能保证这些资源仍然可用,对于Debian官方无法提供的软件,

建议去软件的官方网站上查询下载方式


3. 非官方软件包查询地址:

http://www.apt-get.org/search.php


1) rarewares.org -- 提供很多音频软件


代码:

deb http://www.rarewares.org/debian/packages/unstable ./



2) blackdown Java -- 这个不用说了吧


代码:

deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian unstable main non-free


3) bootsplash.de -- ppracer, bootsplash stuff.


代码:

deb http://debian.bootsplash.de unstable main



4) USTC 的非官方资源


代码:

deb ftp://debian.ustc.edu.cn/debian-uo sid marillat rareware ustc java misc jrfonseca firefly

deb-src ftp://debian.ustc.edu.cn/debian-uo sid marillat rareware ustc java misc jrfonseca firefly



5) http://debian.okey.net/上的丰富资源


代码:

deb http://debian.okey.net/debian/sarge main non-free contrib

deb http://debian.okey.net/debian-uo/ unstable firefly java jrfonseca marillat misc rareware ustc

deb http://debian.okey.net/debian-non-US/ sarge/non-US main contrib



6) debian.linux.org.tw 提供 ttf-arphic-ukai ttf-arphic-uming


代码:

deb ftp://debian.linux.org.tw/pub/apt unstable main



7) 提供realplayer,mplayer, acroreader, w32codecs, 等等


代码:

deb ftp://ftp.nerim.net/debian-marillat/ unstable main

deb-src ftp://ftp.nerim.net/debian-marillat/ unstable main

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
linux-debian软件安装包sources.list 路径 /etc/apt # deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 CD Binary-1 20150906-11:13]/ jessie main # deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 CD Binary-1 20150906-11:13]/ jessie main # deb http://ftp.debian.org/debian/ experimental main deb http://mirrors.ustc.edu.cn/debian/ jessie main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian/ jessie main contrib non-free deb http://mirrors.ustc.edu.cn/debian/ jessie-proposed-updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian/ jessie-proposed-updates main contrib non-free deb http://mirrors.ustc.edu.cn/debian/ jessie-updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian/ jessie-updates main contrib non-free # deb http://mirrors.163.com/debian/ jessie main non-free contrib # deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib # deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib # deb-src http://mirrors.163.com/debian/ jessie main non-free contrib # deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib # deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib # deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib # deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib # deb http://cs3.swfu.edu.cn/debian/ jessie main contrib non-free # Line commented out by installer because it failed to verify: # deb http://security.debian.org/ jessie/updates main # Line commented out by installer because it failed to verify: # deb-src http://security.debian.org/ jessie/updates main # jessie-updates, previously known as 'volatile' # A network mirror was not selected during install. The following entries # are provided as examples, but you should amend them as appropriate # for your mirror of choice. # deb http://ftp.debian.org/debian/ jessie-updates main # deb-
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值