更换方式

  1. 备份系统本身源文件
cp /etc/apt/sources.list /etc/apt/sources.list.backup
  • 1
  1. 修改源文件内容,将新的源地址写入该文件中
gedit /etc/apt/sources.list
  • 1
  1. 保存文件,并刷新配置
apt-get update
apt-get upgrade
  • 1
  • 2

国内的源地址

上海交通大学

deb http://ftp.sjtu.edu.cn/ubuntu/ dapper main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ dapper main multiverse restricted universe
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

Ubuntu 10.04 台湾更新源

deb http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-backports main multiverse restricted universe
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-backports universe main multiverse restricted
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

电子科技大学

deb http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

北京理工大学

deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

网易源

deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

网易开源镜像站

  • 提供 FreeBSD,OpenBSD,archlinux,centos,cygwin,debian,Fedora,gentoo,kernel,openSUSE,slackware,Ubuntu

    deb http://Ubuntu.cn99.com/ubuntu/ lucid main universe restricted multiverse 
    deb-src http://Ubuntu.cn99.com/ubuntu/ lucid main universe restricted multiverse 
    deb http://Ubuntu.cn99.com/ubuntu/ lucid-security universe main multiverse restricted 
    deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-security universe main multiverse restricted 
    deb http://Ubuntu.cn99.com/ubuntu/ lucid-updates universe main multiverse restricted 
    deb http://Ubuntu.cn99.com/ubuntu/ lucid-proposed universe main multiverse restricted 
    deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-proposed universe main multiverse restricted 
    deb http://Ubuntu.cn99.com/ubuntu/ lucid-backports universe main multiverse restricted 
    deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-backports universe main multiverse restricted 
    deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-updates universe main multiverse restricted

阿里云源

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse

ubuntu软件源更换方法相关推荐

  1. 更换ubuntu软件源的方法

    第一步:查看本系统Codename 输入lsb_release -a查看本系统Codename,我的codename是bionic,如图: 第二步:搜索与codename对应的镜像地址 我搜索到的是: ...

  2. ubuntu14.04更换国内软件源的方法

    文章目录 前言 一.软件源是什么? 二.更换步骤 1.更换须知 2.配置文件备份 2.1执行以下命令对配置文件备份: 2.2执行以下命令编辑配置文件: 2.3把配置文件里面的内容全部删掉 2.4 把以 ...

  3. 更换ubuntu软件源为阿里源,解决ubuntu下载安装软件慢的问题并安装open-vm-tools和open-vm-tools-desktop

    *************** 一.更换ubuntu软件源为阿里源,解决ubuntu下载安装软件慢的问题 1.打开终端(快捷键ctrl+alt+t),输入cd /etc/apt并回车 2.输入sudo ...

  4. ubuntu软件源更新不了,解决方法

    在ubuntu14.05.04中,出现ubuntu软件源更新不了,可以通过更换软件源来解决. 编辑sources.list,最好在编辑之前,先备份sources.list,以防万一修改错误,还能恢复. ...

  5. 树莓派 root权限获取软件源更换

    root权限获取 指令 给root账户设置密码 sudo passwd root 解锁root账户 sudo passwd --unlook root 切换到root管理员 su root 要输入密码 ...

  6. CentOS 6镜像源更换方法

    CentOS 6镜像源更换方法 处理方法 操作步骤 联系作者 问题描述 CentOS社区于2020年11月30日结束对CentOS 6的维护支持(EOL).CentOS社区不再提供针对CentOS 6 ...

  7. 详解Ubuntu软件源

    新手学Ubuntu的时候,一般不知道什么是源,但源又是Ubuntu下常用到的东西.因此,本文就详细介绍一下Ubuntu 源. 当然小编我也需要在巩固巩固 什么是软件源? 源,在Ubuntu下,它相当于 ...

  8. ubuntu 软件源的设置

    ubuntu 软件源的设置 一般使用 "主服务器" 注意:当我们安装,更新软件时,我们的服务器必须完全保持一直,这样可以在软件安装时,避免软件不兼容或软件冲突,导致软件不能安装 u ...

  9. ubutun 更换网络源_Ubuntu 14.04用户修改更新源和替换软件源的方法

    给Ubuntu 14.04 LTS已经正式发布了,下面说下修改软件源.更新源的方法,一方面是升级出现问题,另一方面是官方的源对于国内用户来说比较慢,因为对unity桌面不熟悉,还是这里说一下.老鸟就不 ...

最新文章

  1. 机器学习:信用风险评估评分卡建模方法及原理
  2. R语言ggplot2可视化:水平半小提琴图(Horizontal Half Violin Plots)、去除水平半小提琴图中的填充色、ggridges包的绘制山脊图
  3. 三目运算法求一个大值,以及指定位数的应用,以及函数的声明,以及函数的嵌套,以及函数的递归,以及用递归法求阶乘
  4. 洛谷P1144-最短路计算【日常最短路,日常图论,SPFA】
  5. 数据库启动提示: ORA-27102: out of memory
  6. 前端处理跨域的几种方式
  7. 【算法分析与设计】鸡尾酒排序
  8. Starling中文站开发教程
  9. 审计 6 SSRF和任意文件读取
  10. 论文阅读笔记(六)——GhostNet: More Features from Cheap Operations
  11. linux .o,.a,.so文件区别是什么
  12. 【LeetCode-SQL】1336. 每次访问的交易次数
  13. canvas 角度 弧度 换算
  14. 在Ubuntu16.04下配置VSFTPD
  15. 中职计算机应用专业(大数据方向)建设实践
  16. DDD 到底是银弹还是垃圾
  17. 第一次使用Arduino MKR WIFI 1010
  18. 公有iot私有iot架构_玩洋葱Omega IoT设备在OLED屏幕上显示实时血糖
  19. GD32F30x系列ADC源码,对初学者参考价值巨大,(非常详细篇)万字源码
  20. [译]用R语言做挖掘数据《四》

热门文章

  1. BitCherry测试网络将于12月24日12:00上线
  2. SAP License:家装ERP
  3. for for..in语句的基本结构 常用的内置对象和内置放法
  4. Ex 6_23 一个生产系统共包含n个顺序执行的阶段..._第七次作业
  5. 关于get请求的乱码问题
  6. Sublime Text C# 编译(csharp.sublime-build)
  7. struts2第一个程序 Helloworld
  8. 电力项目十--整合文本编辑器
  9. 微信公众平台获取用户地理位置之开发文档详解
  10. (转载)芹菜拌豆腐皮 降压小凉菜