|
|
发表于 2007-8-6 23:04:36
|
显示全部楼层
Post by dan_chaos
大家好。
我是从red hat过来的,刚刚安装了Debian4.0,可是不会写apt的source.lst文件,到网上找了很久,可是没有解释该文件的具体写法和具体含义,谁能给我一个教育网内的source.lst的写法和这个文件的具体含义呢?最好是能用的,先谢过大家了。
注意,我的例子里 unstable 是Debian的版本,你需要根据自己使用的版本名称进行替换。
编辑文件如下:
vi /etc/apt/sources.list- #*** this is my debian cdrom install source
- #deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-2 (20021218)]/ untesting contrib main non-US/contrib non-US/main
- #deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-1 (20021218)]/ untesting contrib main non-US/contrib non-US/main
- #*** this is my debian stable install source
- deb http://www.debian-multimedia.org/ unstable main
- deb http://debian.cn99.com/debian unstable main non-free contrib
- deb-src http://debian.cn99.com/debian unstable main non-free contrib
复制代码 |
|