码迷,mamicode.com
首页 > 系统相关 > 详细

【转】 ubuntu12.04更新源

时间:2015-05-26 21:15:40      阅读:270      评论:0      收藏:0      [点我收藏+]

标签:

原文网址:http://blog.chinaunix.net/uid-26404477-id-3382633.html

摘 要:本文列出ubuntu 12.04 LTS更新源列表,内容为网友整理,此处为转载。因为我还在重庆读书,所以在设置自己的源列表的时候选择了电子科技大学的更新源,速度在1M+,更新起来 还是比较安逸。之前使用过电信的网络(非教育网),选择cn99的源,速度也很可观。

ubuntu系统与网络关系密切,往往在完成系统安装之后需要进行必需软件的安装及更新。方法网上都可以找得到,这里再重述一下。

首先,使用su root切换至超级用户权限;
然后,gedit /etc/apt/sources.list,打开源列表文件,这里没有进行备份,如果需要,也可以用cp命令进行下备份;
将以下所示的源列表之一全部复制到sources.list文件中,替换原有内容;
最后,保存并关闭已经打开的source.list文件,在终端输入 apt-get update命令。
以上三步即完成源列表的更新。

#台湾源

  1. deb http://tw.archive.ubuntu.com/ubuntu/ precise main universe restricted multiverse
  2. deb-src http://tw.archive.ubuntu.com/ubuntu/ precise main universe restricted multiverse
  3. deb http://tw.archive.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
  4. deb-src http://tw.archive.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
  5. deb http://tw.archive.ubuntu.com/ubuntu/ precise-updates universe main multiverse restricted
  6. deb-src http://tw.archive.ubuntu.com/ubuntu/ precise-updates universe main multiverse restricted


#网易 Ubuntu 源(速度很快)

  1. deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
  2. deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
  3. deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
  4. deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
  5. deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
  6. deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
  7. deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
  8. deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
  9. deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
  10. deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted

#骨头源,骨头源是bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin

  1. deb http://ubuntu.srt.cn/ubuntu/ precise main universe restricted multiverse
  2. deb-src http://ubuntu.srt.cn/ubuntu/ precise main universe restricted multiverse
  3. deb http://ubuntu.srt.cn/ubuntu/ precise-security universe main multiverse restricted
  4. deb-src http://ubuntu.srt.cn/ubuntu/ precise-security universe main multiverse restricted
  5. deb http://ubuntu.srt.cn/ubuntu/ precise-updates universe main multiverse restricted
  6. deb http://ubuntu.srt.cn/ubuntu/ precise-proposed universe main multiverse restricted
  7. deb-src http://ubuntu.srt.cn/ubuntu/ precise-proposed universe main multiverse restricted
  8. deb http://ubuntu.srt.cn/ubuntu/ precise-backports universe main multiverse restricted
  9. deb-src http://ubuntu.srt.cn/ubuntu/ precise-backports universe main multiverse restricted
  10. deb-src http://ubuntu.srt.cn/ubuntu/ precise-updates universe main multiverse restricted

#mirror.lupaworld.com的源,速度很快

  1. deb http://mirror.lupaworld.com/ubuntu/archive/ precise main restricted universe multiverse
  2. deb http://mirror.lupaworld.com/ubuntu/archive/ precise-security main restricted universe multiverse
  3. deb http://mirror.lupaworld.com/ubuntu/archive/ precise-updates main restricted universe multiverse
  4. deb http://mirror.lupaworld.com/ubuntu/archive/ precise-backports main restricted universe multiverse
  5. deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ precise main restricted universe multiverse


#ubuntu.cn99.com源(推荐):

  1. deb http://ubuntu.cn99.com/ubuntu/ precise main restricted universe multiverse
  2. deb http://ubuntu.cn99.com/ubuntu/ precise-updates main restricted universe multiverse
  3. deb http://ubuntu.cn99.com/ubuntu/ precise-security main restricted universe multiverse
  4. deb http://ubuntu.cn99.com/ubuntu/ precise-backports main restricted universe multiverse
  5. deb http://ubuntu.cn99.com/ubuntu-cn/ precise main restricted universe multiverse


#电子科技大学

  1. deb http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
  2. deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
  3. deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
  4. deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
  5. deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
  6. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
  7. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
  8. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
  9. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
  10. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse

#中国科技大学

  1. deb http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
  2. deb http://debian.ustc.edu.cn/ubuntu/ precise-backports restricted universe multiverse
  3. deb http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
  4. deb http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
  5. deb http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
  6. deb-src http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
  7. deb-src http://debian.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
  8. deb-src http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
  9. deb-src http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
  10. deb-src http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse

#北京理工大学

  1. deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
  2. deb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
  3. deb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
  4. deb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
  5. deb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
  6. deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
  7. deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
  8. deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
  9. deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
  10. deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe

#兰州大学

  1. deb ftp://mirror.lzu.edu.cn/ubuntu/ precise main multiverse restricted universe
  2. deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
  3. deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
  4. deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
  5. deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
  6. deb ftp://mirror.lzu.edu.cn/ubuntu-cn/ precise main multiverse restricted universe

#上海交通大学

  1. deb http://ftp.sjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
  2. deb http://ftp.sjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
  3. deb http://ftp.sjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
  4. deb http://ftp.sjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
  5. deb http://ftp.sjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
  6. deb http://ftp.sjtu.edu.cn/ubuntu-cn/ precise main multiverse restricted universe
  7. deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
  8. deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
  9. deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
  10. deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
  11. deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe

原文网址:http://honkideng.iteye.com/blog/1874463

ubuntu12.04添加国内软件源(163、sohu、ustc),编辑sources.list文件
sudo nano /etc/apt/sources.list
添加如下内容,保存然后sudo apt-get update.
如果是其它ubuntu版本,只需把precise改为相应的版本的名字。hardy(8.04),lucid(10.04),maverick(10.10),oneiric(11.10),quantal(12.10),precise(12.04)

#163
deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/precise-backports main restricted universe multiverse
#sohu
deb http://mirrors.sohu.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precisec-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
#ustc
deb http://mirrors.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse

【转】 ubuntu12.04更新源

标签:

原文地址:http://www.cnblogs.com/wi100sh/p/4531568.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!