• ubuntu 10.04的教育网源(亲自测试可用的,删除了不可用的源)


    cp /etc/apt/sources.list  /etc/apt/sources.list.backup
    sudo gedit  /etc/apt/sources.list
    
    在sources.list最前面添加下列源

    #中科大的源,教育网推荐
    deb http://debian.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
    deb http://debian.ustc.edu.cn/ubuntu/ lucid-backports restricted universe multiverse
    deb http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
    deb http://debian.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
    deb http://debian.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
    deb-src http://debian.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
    deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-backports main restricted universe multiverse
    deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
    deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
    deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
    
    #北京交大的源,教育网
    deb http://mirror.bjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
    deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
    deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
    deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
    deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
    
    
    #上海交大的源
    deb http://ftp.sjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
    deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
    deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
    deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
    deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
    deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
    deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
    deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
    deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
    deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
    
    #再来一个163的。电信教育网通用
    deb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
    deb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
    deb http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
    deb http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
    deb http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
    deb-src http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
    deb-src http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
    deb-src http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
    deb-src http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
    deb-src http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
    

    添加完成后,更新源

    sudo apt-get update
    

  • 相关阅读:
    JavasScript 实现二分法快排注意点
    JS的面向对象二(通过构造函数的方式)
    JS的面向对象一(通过构造函数的方式)
    leetcode.977_有序数组的平方
    leetcode_38.报数
    leetcode_20.c++有效的括号
    leetcode_21.c++合并两个有序列表
    leetcode_最长公共前缀
    T2_两数相加
    T1_两数之和
  • 原文地址:https://www.cnblogs.com/icejoywoo/p/2044999.html
Copyright © 2020-2023  润新知