首页 > 【转】 ubuntu12.04更新源

【转】 ubuntu12.04更新源

原文网址: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

转载于:https://www.cnblogs.com/wi100sh/p/4531568.html

更多相关:

  • 这里仅在 在Ubuntu 12.04 64bit上搭建Crtmpserver视频点播服务 基础上补充一下在Ubuntu 14.04上编译安装Crtmpserver的方法,以作备忘。因为Ubuntu 14.04相较于12.04在第三方库上面有很大改变,采用原有方法将无法编译成功。 我在安装 sudo apt-get insta...

  • 文章目录选择系统安装系统网络配置CEPH部署 想要查看版本较高的ceph在进行录像业务存储且在磁盘占用率在70%左右时且ceph底层出现slow_request是否会对上层录像业务造成显性影响 所以需要在ubuntu 18.04版本部署mimic版本ceph,先将部署步骤描述如下: 选择系统 这里本可以选择ubuntu1...

  • ubuntu 默认鼠标双击问题 内容: 选择 universalAccess ->Typing ubuntu 16.04 ubuntu 18.04 关闭鼠标悬停 点击 点击测试...

  • 以下内容来自 https://opsx.alibaba.com/mirror Ubuntu对应的“帮助”信息 修改方式:打开 /et/apt/sources.list将http://archive.ubuntu.com/替换为mirrors.aliyun.com即可   PS:网络上的信息,一定得注意时效性。以下内容,均为此时此...