- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Ubuntu软件源添加方法
Ubuntu软件源添加方法
Ubuntu软件源
对于Ubuntu的在线更新设计,相信您一定觉得十分方便,因为这可以提高系统安装的速度,并节省下载安装CD/DVD的大量时间(目前的Linux 发行版安装都需要多张CD或DVD,对于上网带宽不足的用户,这常会造成下载的困难)。
不知您是否想过,这些软件到底存放在哪里?是否可以指定下载的位置?解决此类问题,就必须提及Ubuntu使用的“软件源”(Software Repositories)。
在Ubuntu中所谓的“软件源”,是指在世界上许多服务器上放置的软件数据库。就目前而言,软件源中大概有17 000个不同的软件包。由于软件源是开放给所有的Ubuntu用户进行更新,所以只要在软件源中定期上传最新版本的软件,便可确保所有用户都用到最新发布的软件包。
默认软件源
Ubuntu安装时,系统会根据选择的时区来指定默认的软件源,以加快用户下载更新时的速度。例如,在安装时,如果选择的时区为上海,则系统就会指定使用中国的Ubuntu软????? 件源。
如果希望了解目前系统所用的软件源列表,首先需要打开/etc/apt/sources.list文件。下面的范例是笔者目前的计算机设置,其中会列出不同用途的软件源网址:
## Major bug fix updates produced after the final release of the
## distribution.
deb /ubuntu/ edgy-updates main restricted multiverse universe
deb-src /ubuntu/ edgy-updates main restricted multiverse universe #Added by software-properties
## Uncomment the following two lines to add software from the universe
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb /ubuntu/ edgy universe
# deb-src /ubuntu/ edgy universe
## Uncomment the following two lines to add software from the backports
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb /ubuntu/ edgy-backports main restricted universe multiverse
# deb-src /ubuntu/ edgy-backports main restricted universe multiverse
deb /ubuntu edgy-security main restricted multiverse universe
deb-src /ubuntu edgy-security main restricted multiverse universe #Added by software-properties
# deb /ubuntu edgy-security universe
# deb-src /ubunt
文档评论(0)