一、安裝樹莓派系統(tǒng)
首先下載樹莓派的系統(tǒng),鏡像官網(wǎng)(https://www.raspberrypi.com/)速度下載比較慢,推薦使用阿里云鏡像站下載。
阿里云鏡像站官網(wǎng):https://developer.aliyun.com/mirror/
阿里云樹莓派系統(tǒng)鏡像地址:https://mirrors.aliyun.com/raspberrypi/
然后我們找到下載地址下載:
基于Debian11,當(dāng)前日期是2022-02-16,目前最新的系統(tǒng)。
下載完畢后解壓,然后使用Win32DiskImager刷入內(nèi)存卡,燒錄系統(tǒng)這里就不多說了。
把內(nèi)存卡插入樹莓派,通電開機(jī),然后通過hdmi線接入顯示器。就可以進(jìn)入系統(tǒng)了。
二、Raspberry Pi 更換阿里云源方法
自帶的源在海外,訪問速度比較慢,更換成阿里云的源后安裝軟件速度會(huì)提升很大。
阿里云raspberrypi 鏡像源地址:
https://developer.aliyun.com/mirror/raspberrypi?spm=a2c6h.13651102.0.0.5f851b11F6UTeG
其他源:http://www.raspbian.org/RaspbianMirrors
編輯 /etc/apt/sources.list 文件,這里推薦就用系統(tǒng)自帶的 nano 命令編輯,命令如下:
sudo nano /etc/apt/sources.list
進(jìn)入編輯界面,刪除原有的內(nèi)容,粘貼如下內(nèi)容:
deb http://mirrors.aliyun.com/raspbian/raspbian/ bullseye main non-free contrib rpi
deb-src http://mirrors.aliyun.com/raspbian/raspbian/ bullseye main non-free contrib rpi
更新軟件索引清單
sudo apt-get update
比較索引清單更新依賴關(guān)系
sudo apt-get upgrade -y