分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 前端开发

树莓3B+_Raspbian 源使用帮助

发布时间:2023-09-06 02:35责任编辑:白小东关键词:暂无标签
https://mirrors.ustc.edu.cn/help/raspbian.html
 

Raspbian 源使用帮助

地址

https://mirrors.ustc.edu.cn/raspbian/

说明

Raspbian 安装镜像和软件源

系统架构

armhf

收录版本

  • wheezy(oldoldstable)
  • jessiels(oldstable)
  • stretch(stable)
  • buster(tesing)

使用说明

警告

操作前请做好相应备份

将 /etc/apt/sources.list 文件中默认的源地址 http://raspbian.raspberrypi.org/ 替换为 http://mirrors.ustc.edu.cn/raspbian/ 即可。

raspbian 2018-04-19 之后的镜像默认源已经更改,用如下命令替换:

sudo sed -i ‘s|raspbian.raspberrypi.org|mirrors.ustc.edu.cn/raspbian|g‘ /etc/apt/sources.list

旧版的系统可以用以下命令替换:

sudo sed -i ‘s|mirrordirector.raspbian.org|mirrors.ustc.edu.cn/raspbian|g‘ /etc/apt/sources.listsudo sed -i ‘s|archive.raspbian.org|mirrors.ustc.edu.cn/raspbian|g‘ /etc/apt/sources.list

当然也可以直接编辑 /etc/apt/sources.list 文件(需要使用 sudo)。删除原文件所有内容,用以下内容取代(以 Stretch 示例):

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

编辑此文件后,请使用 sudo apt-get update 命令,更新软件索引。

同时也可能需要更改 archive.raspberrypi.org 源,请参考 Raspberrypi 源使用帮助 。

相关链接

Raspbian 链接
Raspbian 主页:http://www.raspbian.org/
文档:http://www.raspbian.org/RaspbianDocumentation
Bug Tracker:http://www.raspbian.org/RaspbianBugs
镜像列表:http://www.raspbian.org/RaspbianMirrors
树莓派链接
树莓派基金会主页:https://www.raspberrypi.org/
树莓派基金会论坛 Raspbian 版块:
 https://www.raspberrypi.org/forums/viewforum.php?f=66

© Copyright 2017 - 2019, LUG@USTC

Built with Sphinx using a theme provided by Read the Docs.

除额外注明的地方外,本文档按 CC BY-NC-SA 4.0 许可协议发布。

树莓3B+_Raspbian 源使用帮助

原文地址:https://www.cnblogs.com/quixon/p/10545292.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved