樹莓派3B更換阿里雲的軟件源

我的樹莓派使用的jessie系統:

1、打開文件

sudo vim /etc/apt/sources.list 

2、編輯文件

將原來的deb.......和deb-src......兩行註釋掉

或者直接在這兩行修改

deb http://mirrors.aliyun.com/raspbian/raspbian/ jessie main contrib non-free rpi

deb-src http://mirrors.aliyun.com/raspbian/raspbian/ jessie main contrib non-free rpi

區別就在於域名

3、編輯後保存並退出文件,執行

sudo apt-get update

sudo apt-get upgrade -y

4、完成

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章