Apt源的配置
来源:互联网 发布:linux 文件修改时间 编辑:程序博客网 时间:2024/06/05 08:28
原文:http://blog.chinaunix.net/uid-20420254-id-1949692.html
apt核心配置文件集中在 /etc/apt
其中,管理软件来源的配置文件如下
sources.list // 主要软件源
sources.list.d/*.list // 个别软件的源
preferences // 控制文件,具体用法参见 man apt_preferences
.list文件的基本语法
deb uri distribution [component1] [component2] [...]
uri apt源的网络地址
distribution 对于Debian就是stable/testing/unstable/experimental,Ubuntu是
component main/contrib/non-free
配置优化的依据
使用synaptic/aptitude升级或者下载软件时,包管理系统为每个apt源地址建立一个下载的线程
component是.list文件基本配置语法中涉及的最小单位,uri>distribution>component;当且仅当uri,distribution,component都相同时,两个component是相同的。
apt源是全球分布的,即uri的选择是最为丰富的
具体技巧
为每个component选择一个uri
不同的component使用不同的uri
最大的component使用最快的uri
现实中优化的sources.list
$cat sources.list
# the main Debian packages.
deb http://www.zentek-international.com/mirrors/debian/ experimental main
deb http://ftp.tw.debian.org/debian/ testing main
deb ftp://opensource.nchc.org.tw/debian/ testing contrib non-free
优化后的效果
涉及的基本配置文件:
apt核心配置文件集中在 /etc/apt
其中,管理软件来源的配置文件如下
sources.list // 主要软件源
sources.list.d/*.list // 个别软件的源
preferences // 控制文件,具体用法参见 man apt_preferences
.list文件的基本语法
deb uri distribution [component1] [component2] [...]
uri apt源的网络地址
distribution 对于Debian就是stable/testing/unstable/experimental,Ubuntu是
component main/contrib/non-free
配置优化的依据
使用synaptic/aptitude升级或者下载软件时,包管理系统为每个apt源地址建立一个下载的线程
component是.list文件基本配置语法中涉及的最小单位,uri>distribution>component;当且仅当uri,distribution,component都相同时,两个component是相同的。
apt源是全球分布的,即uri的选择是最为丰富的
具体技巧
为每个component选择一个uri
不同的component使用不同的uri
最大的component使用最快的uri
现实中优化的sources.list
$cat sources.list
# the main Debian packages.
deb http://www.zentek-international.com/mirrors/debian/ experimental main
deb http://ftp.tw.debian.org/debian/ testing main
deb ftp://opensource.nchc.org.tw/debian/ testing contrib non-free
优化后的效果
涉及的基本配置文件:
apt核心配置文件集中在 /etc/apt
其中,管理软件来源的配置文件如下
sources.list // 主要软件源
sources.list.d/*.list // 个别软件的源
preferences // 控制文件,具体用法参见 man apt_preferences
.list文件的基本语法
deb uri distribution [component1] [component2] [...]
uri apt源的网络地址
distribution 对于Debian就是stable/testing/unstable/experimental,Ubuntu是
feisty/dapper/等
component main/contrib/non-free
配置优化的依据
使用synaptic/aptitude升级或者下载软件时,包管理系统为每个apt源地址建立一个下载的线程
component是.list文件基本配置语法中涉及的最小单位,uri>distribution>component;当且仅当uri,distribution,component都相同时,两个component是相同的。
apt源是全球分布的,即uri的选择是最为丰富的
具体技巧
为每个component选择一个uri
不同的component使用不同的uri
最大的component使用最快的uri
现实中优化的sources.list
$cat sources.list
# the main Debian packages.
deb http://www.zentek-international.com/mirrors/debian/ experimental main
deb http://ftp.tw.debian.org/debian/ testing main
deb ftp://opensource.nchc.org.tw/debian/ testing contrib non-free
优化后的效果
涉及的基本配置文件:
apt核心配置文件集中在 /etc/apt
其中,管理软件来源的配置文件如下
sources.list // 主要软件源
sources.list.d/*.list // 个别软件的源
preferences // 控制文件,具体用法参见 man apt_preferences
.list文件的基本语法
deb uri distribution [component1] [component2] [...]
uri apt源的网络地址
distribution 对于Debian就是stable/testing/unstable/experimental,Ubuntu是
feisty/dapper/等
component main/contrib/non-free
配置优化的依据
使用synaptic/aptitude升级或者下载软件时,包管理系统为每个apt源地址建立一个下载的线程
component是.list文件基本配置语法中涉及的最小单位,uri>distribution>component;当且仅当uri,distribution,component都相同时,两个component是相同的。
apt源是全球分布的,即uri的选择是最为丰富的
具体技巧
为每个component选择一个uri
不同的component使用不同的uri
最大的component使用最快的uri
现实中优化的sources.list
$cat sources.list
# the main Debian packages.
deb http://www.zentek-international.com/mirrors/debian/ experimental main
deb http://ftp.tw.debian.org/debian/ testing main
deb ftp://opensource.nchc.org.tw/debian/ testing contrib non-free
优化后的效果
- Apt源的配置
- apt-get的软件源配置
- apt的配置
- Apt本地源配置
- 配置apt源
- Ubuntu Server配置apt-get源的方法
- linux apt-get 源配置
- Ubuntu配置apt-get源
- 配置Ubuntu Server高速apt-get源
- [Linux] 配置apt-get高速下载源
- 配置Ubuntu Server高速apt-get源
- 配置Ubuntu Server高速apt-get源
- 配置Ubuntu Server高速apt-get源
- debian配置网络及apt-get源
- 配置apt-get告诉下载源
- 配置apt-get高速下载源
- 配置Ubuntu Server高速apt-get源
- Ubuntu 配置阿里云 apt-get 源
- Top 10 Websites for Advanced Level Java Developers
- 一些让学计算机的人很受用的话
- 主流开源协议简介
- Ubuntu13.10系统禁用独显(简单好用)
- ubuntu LAMP 安装及配置
- Apt源的配置
- CInternetSession的简单使用
- 歌手大奖赛计分系列
- extjs 添加和编辑共用一个FormPanel,根据不同的动作动态改URL
- 清除.svn文件夹
- android自定义视频录制
- 修改安卓手机的文件权限以及简单改造自己的android
- 判断任意是否为回文数
- _BLOCK_TYPE_IS_VALID(pHead->nBlockUse问题解析