LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1084|回复: 4

关于安装源的问题

[复制链接]
发表于 2006-2-27 23:42:46 | 显示全部楼层 |阅读模式
看过了这个帖子:
http://www.linuxsir.cn/bbs/showthread.php?t=218212

希望有详细的提供给新手的资料,谢谢

1、安装源的具体定义、作用是什么呢?
2、不同版本的debian系统的安装源是否在填写时也有区别呢?
    比如,有的朋友的是这样的:
    deb http://debian.cn99.com/debian stable main contrib non-free
      但是其他的:
    deb ftp://some-server/debian sarge main contrib
除了是FTP与HTTP不同外,sarge与stable、non-free和没有non-free都代表什么意思呢?
不象是一个站点的目录。。

不知道是否可以要个安装源的精华看下。。
发表于 2006-2-27 23:53:14 | 显示全部楼层
我是新手,只能谈谈自己看法,要是错了,大家指出呀,一起进步。
这个和Debian 的安装方式有关,它的大部分软件是基于网络安装的,这些软件存放于网络服务器上面,而且不止一台。源就是喝这个有关,从源上面更新软件列表,如果有就可以安装了。
我一直都是用cn99的源,可能不同的源在软件上面还是有差别的,因为我见过在安装一些特别的东西时,提示要添加特定的源。
回复 支持 反对

使用道具 举报

发表于 2006-2-28 00:33:12 | 显示全部楼层
sarge与stable是各代表不同的发行版本。
stable 代表是稳定发布版,其中的软件更新最慢;
sarge 即为testing,新技术或下一候选的意思。

下面这个连接有点儿相关的看法,请你参考:
http://www.linuxsir.cn/bbs/archive/index.php/t-190264.html
相关的基础知识请参考这个下面这个文档:
http://qref.sourceforge.net/Debian/reference/ch-system.zh-cn.html

今天我也大补了一次,汗...............
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-28 10:38:17 | 显示全部楼层
谢两位!
还有:deb ftp://ftp.tsinghua.edu.cn/mirror/debian/debian unstable main non-free contrib 这样的意思是说只有unstable版才可以这样写安装源吗?非unstable的是在unstable处改成相应的版本就可以了是吗?

我用的是debian-31r0a-i386-binary-1.iso硬盘安装,/etc/debian_version是3.1,安装源这样写对吗:deb http://debian.cn99.com/debian sarge main contrib

以下是我找的资料,希望新手有所收获:
-------------------------------------------------------------------------
1、sources.list书写的方法
(1)地址:找到包含dists和pool这两个目录的地址,比如
http://mirrors.geekbone.org/debian/;
(2)目录名:打开dists,里面包含的目录名字,记下来。比如dists/包含sarge、etch、woody、sid。
(3)名字:打开以上目录,看看里面包含哪些组件名字,比如main、cont
rib、non-free;
(4)书写格式:deb <1记下来的地址> <2记下来的目录名> <3记下来的名字>,如:
deb ftp://ftp.linuxforum.net/debian/ sarge main contrib non-free
发现一个比较快的台湾地址: http://ftp.isu.edu.tw/pub/Linux/Debian/debian/
书写了一下:deb http://ftp.isu.edu.tw/pub/Linux/Debian/debian/ sarge main contrib non-free

2、国内安装源:
deb http://mirror.geekbone.org/debian woody mian contrib non-free,
升级前,修改/etc/apt/souces.list的内容如下:
deb http://mirror.geekbone.org/debian sarge main contrib non-free

3、常用安装源
安全更新,安装的时候可以选择,不用自己加。
deb http://security.debian.org/ sarge/updates main contrib non-free

比较快的Asia安装源
deb http://mirror.vmmatrix.net/debian/ testing main
deb-src http://mirror.vmmatrix.net/debian/ testing main

发现一个比较快的台湾地址:
deb http://ftp.isu.edu.tw/pub/Linux/Debian/debian/ sarge main contrib non-free

国内安装源:
deb http://debian.ustc.edu.cn/debian sarge main non-free contrib
deb http://debian.ustc.edu.cn/debian-non-US sarge/non-US main non-free contrib
deb http://debian.ustc.edu.cn/debian-uo sid marillat rareware misc ustc firefly jrfonseca java

教育网常用sources.list(以下只适用于sid即unstable用户,其它版本用户请酌情更改)

中科大
deb ftp://debian.ustc.edu.cn/debian unstable main non-free contrib
deb-src ftp://debian.ustc.edu.cn/debian unstable main non-free contrib
大连理工
deb ftp://mirror.dlut.edu.cn/debian unstable main non-free contrib
deb-src ftp://mirror.dlut.edu.cn/debian unstable main non-free contrib
清华大学
deb ftp://ftp.tsinghua.edu.cn/mirror/debian/debian unstable main non-free cont
rib
deb-src ftp://ftp.tsinghua.edu.cn/mirror/debian/debian unstable main non-free
contrib

非官方软件包(uo)
中科大uo仓库:
wma、ape插件for xmms,以及 realplay等:
deb ftp://debian.ustc.edu.cn/rarewares.org unstable main

mplayer等:
deb ftp://debian.ustc.edu.cn/debian-uo sid marillat

j2re, j2sdk or mozilla java plugin:
deb ftp://debian.ustc.edu.cn/debian-uo sid java

firefly fake bold font style package:慎重使用
deb ftp://debian.ustc.edu.cn/debian-uo sid firefly

gbkfonts、xpdf等:
deb ftp://debian.ustc.edu.cn/debian-uo sid ustc

其它一些uo:
Bootsplash patches and utils:
deb http://www.bootsplash.de/files/debian unstable main

Fangzheng Fonts、Matlab7、Mathematica、cedega等:
deb ftp://202.38.73.198/debian sid foo

xmms2:
deb http://exodus.xmms.se/debian stable main

非官方软件包查询地址:
http://www.apt-get.org/search.php
2) blackdown Java
代码:
deb ftp://metalab.unc.edu/pub/linux/ ... lackdown.org/debian unstable main non-free
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) 丰富资源
代码:
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) 提供realplayer,mplayer, acroreader, w32codecs, 等等
代码:
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
deb-src ftp://ftp.nerim.net/debian-marillat/ unstable main

使用时添加到/etc/apt/sources.list里即可,但是非官方的uo软件包,使用时要慎重,以
免发生依赖性错误;如需下载sources,请自行添加deb-src,后面内容相同。
回复 支持 反对

使用道具 举报

发表于 2006-5-30 22:33:58 | 显示全部楼层
多谢楼主,原来一直不明白,今天总算有所了解了,呵呵
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表