zoukankan      html  css  js  c++  java
  • 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 
    
    
  • 相关阅读:
    [Luogu5042/UOJ #100][国家集训队互测2015]丢失的题面/ydc的题面
    [51nod1773]A国的贸易
    [GZOI2019&GXOI2019]省选GG记
    [51nod1659]数方块
    [51nod1052]最大M子段和
    [51nod1201]整数划分
    [51nod1084]矩阵取数问题 V2
    [51nod1020]逆序排列
    [BZOJ3000]Big Number
    [BZOJ1684][Usaco2005 Oct]Close Encounter
  • 原文地址:https://www.cnblogs.com/pengzhen/p/5779896.html
Copyright © 2011-2022 走看看