如何使用树莓派3B进行软件源的更改


本文摘自PHP中文网,作者坏嘻嘻,侵删。

本篇文章给大家带来的内容是关于如何使用树莓派3B进行软件源的更改,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助

树莓派3B+ 软件源更改

  1. 替换脚本

    下面脚本请直接复制到终端执行!!

1

2

3

4

5

sudo -secho -e "deb

http://mirrors.ustc.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi \n deb-src

http://mirrors.ustc.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi" > /etc/apt/sources.listecho -e "deb

http://mirrors.ustc.edu.cn/archive.raspberrypi.org/ stretch main ui" > /etc/apt/sources.list.d/raspi.listexitsudo

     apt update && sudo apt -y upgrade

↓↓↓ 该脚本适配 2017-06-21-raspbian-jessie(基于Debian8)

1

2

3

4

5

sudo -secho -e "deb

http://mirrors.ustc.edu.cn/raspbian/raspbian/ jessie main non-free contrib \n deb-src

http://mirrors.ustc.edu.cn/raspbian/raspbian/ jessie main non-free contrib" > /etc/apt/sources.listecho -e "deb

http://mirrors.ustc.edu.cn/archive.raspberrypi.org/ jessie main" > /etc/apt/sources.list.d/raspi.listexitsudo

     apt-get update && sudo apt-get -y upgrade

非该版本请自行打开(/etc/apt/sources.list 和 /etc/apt/sources.list.d/raspi.list)替换网址即可

2.其它源:( 并未测试!)

中山大学 Raspbian http://mirror.sysu.edu.cn/raspbian/raspbian/

清华大学 Raspbian http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/

华中科技大学 Raspbian http://mirrors.hustunique.com/raspbian/raspbian/ Arch

Linux ARM http://mirrors.hustunique.com/archlinuxarm/

大连东软信息学院源(北方用户) Raspbian
http://mirrors.neusoft.edu.cn/raspbian/raspbian/

阅读剩余部分

相关阅读 >>

linux开启端口命令

ecs云服务器如何禁用公网ip

最详细的linux终端和line discipline图解

linux tar命令如何使用

如何通过 api 管理或定制开发 ecs 实例

怎么查询一个安全组和其他哪些安全组有安全组级别的授权行为

linux如何修改日期和时间

linux中如何保证数据安全落盘

linux系统如何在根目录下创建test目录

linux什么开发的

更多相关阅读请进入《树莓派3》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...