|
|
(未显示同一用户的1个中间版本) |
第1行: |
第1行: |
| | | #REDIRECT[[Qref/Source]] |
| <pre><nowiki>
| |
| 不同的网络状况连接以下源的速度不同, 所以cn99并不一定是最快的源, 建议在添加前手动验证以下源的连接速度(ping下就行),比如说北京网通ADSL用户连接cn99就非常慢,而ftp.sjtu.edu.cn是相对较快的源,选择最快的源可以节省大批下载时间
| |
| </nowiki></pre>
| |
| | |
| ==== Breezy (5.10) 版本 ====
| |
| * 请参阅 [[[Ubuntu简介]]]
| |
| <pre><nowiki>
| |
| sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
| |
| sudo gedit /etc/apt/sources.list
| |
| </nowiki></pre>
| |
| | |
| * 用以下内容替换文件中的所有内容
| |
| <pre><nowiki>
| |
| deb http://archive.ubuntu.com/ubuntu/ breezy main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ breezy-security main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ breezy-updates main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ breezy-backports main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu-cn/ breezy main restricted universe multiverse
| |
| </nowiki></pre>这里你也可以直接使用更快速的ubuntu.cn99.com的源(推荐):
| |
| <pre><nowiki>
| |
| deb http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ breezy-updates main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ breezy-security main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ breezy-backports main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu-cn/ breezy main restricted universe multiverse
| |
| </nowiki></pre>这里你还可以使用速度也非常快的的mirror.lupaworld.com的源:
| |
| <pre><nowiki>
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ breezy main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ breezy-security main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ breezy-updates main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ breezy-backports main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ breezy main restricted universe multiverse
| |
| </nowiki></pre>如果是教育网用户请使用上海交通大学的源:
| |
| <pre><nowiki>
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ breezy main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ breezy-backports main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ breezy-proposed main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ breezy-security main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ breezy-updates main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu-cn/ breezy main multiverse restricted universe bleeding
| |
| </nowiki></pre>
| |
| | |
| * 保存编辑好的文件
| |
| <pre><nowiki>
| |
| sudo apt-get update
| |
| </nowiki></pre>
| |
| | |
| ==== Dapper (6.06) 版本 ====
| |
| | |
| * 请参阅 [[[Ubuntu简介]]]
| |
| <pre><nowiki>
| |
| sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
| |
| sudo gedit /etc/apt/sources.list
| |
| </nowiki></pre>
| |
| | |
| * 用以下内容替换文件中的所有内容
| |
| <pre><nowiki>
| |
| deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ dapper-security main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse
| |
| </nowiki></pre>这里你也可以直接使用更快速的ubuntu.cn99.com的源(推荐):
| |
| <pre><nowiki>
| |
| deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ dapper-updates main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ dapper-backports main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse
| |
| </nowiki></pre>这里你还可以使用速度也非常快的的mirror.lupaworld.com的源:
| |
| <pre><nowiki>
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ dapper main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ dapper-security main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ dapper-updates main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ dapper-backports main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ dapper main restricted universe multiverse
| |
| </nowiki></pre>如果是教育网用户推荐使用上海交通大学的源:
| |
| <pre><nowiki>
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ dapper main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-backports main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-proposed main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-security main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-updates main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu-cn/ dapper bleeding main multiverse restricted universe
| |
| </nowiki></pre>教育网用户也推荐使用清华大学计算机系学生科协的源:
| |
| <pre><nowiki>
| |
| deb http://mirror.net9.org/ubuntu/ dapper main multiverse restricted universe
| |
| deb http://mirror.net9.org/ubuntu/ dapper-backports main multiverse restricted universe
| |
| deb http://mirror.net9.org/ubuntu/ dapper-proposed main multiverse restricted universe
| |
| deb http://mirror.net9.org/ubuntu/ dapper-security main multiverse restricted universe
| |
| deb http://mirror.net9.org/ubuntu/ dapper-updates main multiverse restricted universe
| |
| deb http://mirror.net9.org/ubuntu-cn/ dapper main multiverse restricted universe
| |
| </nowiki></pre>
| |
| | |
| * 保存编辑好的文件
| |
| <pre><nowiki>
| |
| sudo apt-get update
| |
| </nowiki></pre>
| |
| | |
| | |
| ==== Edgy (6.10) 版本 ====
| |
| * 请参阅 [[[Ubuntu简介]]]
| |
| <pre><nowiki>
| |
| sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
| |
| sudo gedit /etc/apt/sources.list
| |
| </nowiki></pre>
| |
| | |
| * 用以下内容替换文件中的所有内容
| |
| <pre><nowiki>
| |
| deb http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ edgy-proposed main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse
| |
| </nowiki></pre>这里你也可以直接使用更快速的ubuntu.cn99.com的源(推荐):
| |
| <pre><nowiki>
| |
| deb http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ edgy-proposed main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse
| |
| </nowiki></pre>这里你还可以使用速度也非常快的的mirror.lupaworld.com的源:
| |
| <pre><nowiki>
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ edgy main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-security main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-updates main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-backports main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-proposed main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ edgy main restricted universe multiverse
| |
| </nowiki></pre>如果是教育网用户请使用上海交通大学的源:
| |
| <pre><nowiki>
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ edgy main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-security main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-updates main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-backports main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-proposed main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu-cn/ edgy main multiverse restricted universe bleeding
| |
| </nowiki></pre>
| |
| | |
| * 保存编辑好的文件
| |
| <pre><nowiki>
| |
| sudo apt-get update
| |
| </nowiki></pre>
| |
| | |
| ==== Feisty (7.04) 版本 ====
| |
| * 请参阅 [[[Ubuntu简介]]]
| |
| <pre><nowiki>
| |
| sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
| |
| sudo gedit /etc/apt/sources.list
| |
| </nowiki></pre>
| |
| | |
| * 用以下内容替换文件中的所有内容
| |
| <pre><nowiki>
| |
| deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
| |
| deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse
| |
| </nowiki></pre>这里你也可以直接使用更快速的ubuntu.cn99.com的源(推荐):
| |
| <pre><nowiki>
| |
| deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
| |
| deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse
| |
| </nowiki></pre>这里你还可以使用速度也非常快的的mirror.lupaworld.com的源:
| |
| <pre><nowiki>
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ feisty main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-security main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-updates main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-backports main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-proposed main restricted universe multiverse
| |
| deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ feisty main restricted universe multiverse
| |
| </nowiki></pre>如果是教育网用户请使用上海交通大学的源:
| |
| <pre><nowiki>
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
| |
| deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe bleeding
| |
| </nowiki></pre>上海电信的一个源:
| |
| <pre><nowiki>
| |
| deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse
| |
| deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse
| |
| deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse
| |
| deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse
| |
| deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse
| |
| deb http://mirror.rootguide.org/ubuntu-cn/ feisty main restricted universe multiverse
| |
| </nowiki></pre>
| |
| | |
| * 保存编辑好的文件
| |
| <pre><nowiki>
| |
| sudo apt-get update
| |
| </nowiki></pre>
| |