• Ubuntu 修改源


    Steps

    1. 打开Ubuntu的终端,输入
    
     sudo gedit /etc/apt/sources.list
    
    
    1. 删掉里边所有旧的内容,把新的内容贴进去

    2. 执行

    
    sudo apt-get update
    
    

    ailiyun:

    TRUSTY(14.04) ref

    
    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:

    
    deb http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse 
    
    
  • 相关阅读:
    poj3723Conscription
    hiho1304 24点
    hdu2089不要62
    hdu3555Bomb
    关于分割平面问题
    poj2976Dropping tests(01分数规划)
    linux命令行
    java内存不足
    如何设置jsp默认的编码为utf-8
    visul svn+花生壳
  • 原文地址:https://www.cnblogs.com/pengzhen/p/5779896.html
Copyright © 2020-2023  润新知