添加Ubuntu的源

Feisty (7.04) 版本

  • 請參閱 [[[Ubuntu簡介]]]
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
  • 用以下內容替換文件中的所有內容
deb [url]http://archive.ubuntu.com/ubuntu/[/url] feisty main restricted universe multiverse
deb [url]http://archive.ubuntu.com/ubuntu/[/url] feisty-security main restricted universe multiverse
deb [url]http://archive.ubuntu.com/ubuntu/[/url] feisty-updates main restricted universe multiverse
deb [url]http://archive.ubuntu.com/ubuntu/[/url] feisty-backports main restricted universe multiverse
deb [url]http://archive.ubuntu.com/ubuntu/[/url] feisty-proposed main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu-cn/[/url] feisty main restricted universe multiverse
這裏你也可以直接使用更快速的ubuntu.cn99.com的源(推薦):
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] feisty main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] feisty-security main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] feisty-updates main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] feisty-backports main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] feisty-proposed main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu-cn/[/url] feisty main restricted universe multiverse
這裏你還可以使用速度也非常快的的mirror.lupaworld.com的源:
deb [url]http://mirror.lupaworld.com/ubuntu/archive/[/url] feisty main restricted universe multiverse
deb [url]http://mirror.lupaworld.com/ubuntu/archive/[/url] feisty-security main restricted universe multiverse
deb [url]http://mirror.lupaworld.com/ubuntu/archive/[/url] feisty-updates main restricted universe multiverse
deb [url]http://mirror.lupaworld.com/ubuntu/archive/[/url] feisty-backports main restricted universe multiverse
deb [url]http://mirror.lupaworld.com/ubuntu/archive/[/url] feisty-proposed main restricted universe multiverse
deb [url]http://mirror.lupaworld.com/ubuntu/ubuntu-cn/[/url] feisty main restricted universe multiverse
如果是教育網用戶請使用上海交通大學的源:
deb [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] feisty main multiverse restricted universe
deb [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] feisty-security main multiverse restricted universe
deb [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] feisty-updates main multiverse restricted universe
deb [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] feisty-backports main multiverse restricted universe
deb [url]http://ftp.sjtu.edu.cn/ubuntu/[/url] feisty-proposed main multiverse restricted universe
deb [url]http://ftp.sjtu.edu.cn/ubuntu-cn/[/url] feisty main multiverse restricted universe bleeding
上海電信的一個源:
deb [url]http://mirror.rootguide.org/ubuntu/[/url] feisty main restricted universe multiverse
deb [url]http://mirror.rootguide.org/ubuntu/[/url] feisty-proposed main restricted universe multiverse
deb [url]http://mirror.rootguide.org/ubuntu/[/url] feisty-updates main restricted universe multiverse
deb [url]http://mirror.rootguide.org/ubuntu/[/url] feisty-backports main restricted universe multiverse
deb [url]http://mirror.rootguide.org/ubuntu/[/url] feisty-security main restricted universe multiverse
deb [url]http://mirror.rootguide.org/ubuntu-cn/[/url] feisty main restricted universe multiverse
  • 保存編輯好的文件
sudo apt-get update
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章