armhf的源
2016-05-22 13:37
274 查看
在树莓派上装了Ubuntu 14.04,自带的源在http://ports.ubuntuo.org/ 速度奇慢无比,但由于armhf的源实在稀少,国内反正是没找到。只找到两个国外的,希望能稍微提升点速度吧。
方法:
在/etc/apt/source.list.d/中添加文件trusty_source.list,内容:
deb http://mirrors.mit.edu/ubuntu-ports/ trusty main restricted universe multiverse
deb http://mirrors.mit.edu/ubuntu-ports/ trusty-updates main restricted universe multiverse
deb http://mirrors.mit.edu/ubuntu-ports/ trusty-security main restricted universe multiverse
deb http://mirrors.mit.edu/ubuntu-ports/ trusty-backports main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu-ports/ trusty main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu-ports/ trusty-updates main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu-ports/ trusty-security main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu-ports/ trusty-backports main restricted universe multiverse
然后执行:
sudo apt-get update
方法:
在/etc/apt/source.list.d/中添加文件trusty_source.list,内容:
deb http://mirrors.mit.edu/ubuntu-ports/ trusty main restricted universe multiverse
deb http://mirrors.mit.edu/ubuntu-ports/ trusty-updates main restricted universe multiverse
deb http://mirrors.mit.edu/ubuntu-ports/ trusty-security main restricted universe multiverse
deb http://mirrors.mit.edu/ubuntu-ports/ trusty-backports main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu-ports/ trusty main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu-ports/ trusty-updates main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu-ports/ trusty-security main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu-ports/ trusty-backports main restricted universe multiverse
然后执行:
sudo apt-get update
相关文章推荐
- 响应式编程框架ReactiveCocoa学习——基本操作符
- eclipse设置新建jsp文件默认字符编码为utf-8
- 存储班长信息的学生类
- mongodb数据库实践笔记
- 实用知识:指纹识别功能的实现
- Linus
- 点-园-圆柱类族的设计
- 数据结构—各类‘排序算法’实现(上)
- 课程练习三-1007-problem G
- Redis
- 电话面试一
- 线程资料整理
- 如何退出一个app
- 微信公众号接入
- 【LeetCode】92. Reverse Linked List II
- CodeForces 96AFootball
- 一个控件例子
- OpenCV代码提取:遍历指定目录下指定文件的实现
- OpenCV代码提取:遍历指定目录下指定文件的实现
- java.lang.IllegalStateException: Cannot forward after response has been committed