Raspberry Pi更改软件源镜像为阿里云镜像
Raspberry Pi更改软件源镜像为阿里云镜像
简介
Raspbian是专门用于ARM卡片式计算机Raspberry Pi® “树莓派”的操作系统。
下载地址:https://mirrors.aliyun.com/raspberrypi/
配置方法
编辑 /etc/apt/sources.list
文件,这里推荐就用系统自带的 nano 命令编辑,命令如下:
1 | sudo nano /etc/apt/sources.list |
进入编辑界面,删除原有的内容,粘贴如下内容:
1 | deb http://mirrors.aliyun.com/raspbian/raspbian/ bullseye main non-free contrib rpi |
更新软件索引清单
1 | sudo apt-get update |
比较索引清单更新依赖关系
1 | sudo apt-get upgrade -y |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Coder Cool!