原文网址: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更新源的更多相关文章

  1. 【转】 ubuntu12.04更新源 官网和163等

    原文网址:http://blog.csdn.net/zhangliang_571/article/details/8813999 分类: LINUX 摘要: 本文列出ubuntu 12.04 LTS更 ...

  2. ubuntu12.10更新源

    ubuntu12.10更新源 2013-03-10 20:48:17|  分类: Linux |字号 订阅   不同的网络状况连接以下源的速度不同, 建议在添加前手动验证以下源的连接速度(ping下就 ...

  3. Ubuntu14.04更新源

    Ubuntu14.04更新源 http://jingyan.baidu.com/article/7f41ecec1b7a2e593d095ce6.html Ubuntu源 http://wiki.ub ...

  4. Ubuntu 12.04 更新源

    转载自:http://www.cnblogs.com/eastson/archive/2012/08/24/2654163.html 1.首先备份Ubuntu12.04源列表 sudo cp /etc ...

  5. Ubuntu 12.04更新源

    源地址:http://www.cnblogs.com/eastson/archive/2012/08/24/2654163.html 1.首先备份Ubuntu12.04源列表 sudo cp /etc ...

  6. Ubuntu 12.04更新源(转)

    1.首先备份Ubuntu12.04源列表 sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份下当前的源列表) 2.修改更新源 ...

  7. Ubuntu16.04更新源

    首先说说为什么要更新源,我是在docker容器中修改配置文件时有所需要,要用到vim,但是会报错.找不到需要的包. 网上都会说要先更新:apt-get update 但是超级慢有没有,我更新了4小时, ...

  8. Ubuntu 12.04 更新源的方法及地址

    本文章转自:http://www.maybe520.net/blog/424/ 安装好ubuntu 12.04之后,可以联网之后,马上要做的最重要的事情之一就是配置更新源列表,这样以后安装更新或者软件 ...

  9. Ubuntu14.04更新源、安装chrome/搜狗输入法

    目录: 1.更新源 2.安装chrome 3.安装搜狗输入法     1.更新源 三步: cp /etc/apt/sources.list /etc/apt/sources.list_backup   ...

随机推荐

  1. CSS3新特性罗列

    接触CSS3这么久了,总是到要用的时候直接拿来用,却没有好好地总结归纳一下,那就在这里好好梳理一下吧. CSS3边框: 圆角边框: 关键:border-radius <!DOCTYPE html ...

  2. Java编程思想-第四章练习题

    练习1:写一个程序,打印从1到100的值 public class Print1To100{ public static void main(String args[]){ for(int i = 1 ...

  3. Android设置上下边框或者左右边框

    <?xml version="1.0" encoding="utf-8"?> <com.sunskyjun.fwproject.widgts. ...

  4. sqlite3经常使用命令&amp;语法

    http://blog.csdn.net/linchunhua/article/details/7184439 sqlite数据库仅仅用一个文件就ok,小巧方便,所以是一个很不错的嵌入式数据库,SQL ...

  5. Node.js 实现简单小说爬虫

    最近因为剧荒,老大追了爱奇艺的一部网剧,由丁墨的同名小说<美人为馅>改编,目前已经放出两季,虽然整部剧槽点满满,但是老大看得不亦乐乎,并且在看完第二季之后跟我要小说资源,直接要奔原著去看结 ...

  6. 读取oracle页面或者进程卡住不动(死锁)

    oracle最坑爹的地方:你insert   update  delete之后  或者kill死锁的时候记得一定要提交事务不然就是死锁卡在那里了 记住  kill死锁也是要提交事务的 select * ...

  7. Sql 2012 OFFSET / FETCH NEXT BUG

    上个星期,测试发现了一个分页的bug--- 无论怎么分页数据的一样.我们所有的分页都是用EF 分页,为什么只有一个模块的分页有问题呢? 后来跟了下sql语句,发现用到是sql2012的新分页方式 OF ...

  8. Oracle ACL (Access Control List)详解

    在Oracle11g中,Oracle在安全方面有了很多的改进,而在网络权限控制方面,也有一个新的概念提出来,叫做ACL(Access Control List), 这是一种细粒度的权限控制.在ACL之 ...

  9. C#学习笔记之结构体

    1.概述 结构是一种与类相似的数据类型,不过它较类更为轻量,一般适用于表示类似Point.Rectangle.Color的对象.基本上结构能办到的类全都能办到,但在某些情况下使用结构更为合适,后面会有 ...

  10. AVL树相关操作

    #include <iostream> using namespace std; //AVL树的节点 template<typename T> class TreeNode { ...