专栏首页轻扬小栈ubuntu 12.04 14.04 source.list 源

ubuntu 12.04 14.04 source.list 源

ubuntu server 官方的源代码更新比较慢,所以更替成国内的源。

sudo cp /etc/apt/sources.list /etc/apt/sources.list.apt sudo vim /etc/apt/sources.list

或者使用nano编辑:

sudo nano /etc/apt/sources.list ctrl+o   #保存配置 ctrl+x   #退出编辑

#更替163源或者sohu源

piaoyun@Ubuntu:~$ sudo apt-get update 中国科学技术大学源: Trusty(14.04) deb http://mirrors.ustc.edu.cn/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse

阿里云源: Trusty(14.04)

deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

163源: 14.04 deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

sohu源: Trusty(14.04) deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • Ubuntu使用apt-get update命令时提示Hash Sum mismatch错误的解决方案

    新安装的Ubuntu 14.04 LTS,进行sudo apt-get update命令更新源的时候总是提示Hash Sum mismatch错误,再网上找了很...

    卡尔曼和玻尔兹曼谁曼
  • dock基本使用

    要安装最新的 Docker 版本,首先需要安装 apt-transport-https 支持,之后通过添加源来安装。要安装最新的 Docker 版本,首先需要安...

    yoyofx
  • Ubuntu 14.04下CUDA8.0 + cuDNN v5 + Caffe 安装配置

    分享在Ubuntu 14.04下CUDA8.0 + cuDNN v5 + Caffe  安装配置过程。

    知忆
  • ROS 发布消息和订阅消息 for Python

    创建名字为 mypackage 的程序包,并且依赖 std_msgs rospy roscpp 三个库

    Coxhuang
  • Ubuntu 12.04常用快捷键整理分享

    下载、安装、配置的相关知识 http://www.linuxidc.com/Linux/2014-04/100370.htm

    用户8710643
  • Ubuntu安装docker

    Note: Ubuntu Utopic 14.10 and 15.04 exist in Docker’s APT repository but are no ...

    字母哥博客
  • Ubuntu 14.04/12.04 及衍生系统如何安装 Kodi 14.0 Alpha 3

    XBMC 是一款著名的开源媒体中心和家庭影院电脑软件,被翻译成超过30种语言。同时,其功能上通过第三方插件和扩展可高度扩展,支持PVR(个人视频录像机)。

    知忆
  • Ubuntu发布重要更新将修复九个漏洞

    Canonical发布了针对所有支持的Ubuntu操作系统的新的Linux内核安全更新,解决了由各个研究人员发现的总共九个漏洞。

    Debian中国
  • Ubuntu 14.04安装JDK1.8.0_25与配置环境变量

    首先到官网下载jdk,http://www.oracle.com/technetwork/java/javase/downloads/jdk8-download...

    bear_fish

扫码关注云+社区

领取腾讯云代金券