树莓派Raspberry Pi - 修改源

321 阅读1分钟

树莓派Raspberry Pi - 修改源


如需转载请标明出处
QQ技术交流群:129518033

### 文章目录* 树莓派Raspberry Pi - 修改源

环境:
OS : Linux raspberrypi 4.9.70

相关问题:

  • 树莓派apt-get速度慢

1.备份源

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

2.修改源

sudo vim /etc/apt/sources.list
deb http://mirrors.aliyun.com/raspbian/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://mirrors.aliyun.com/raspbian/raspbian/ jessie main contrib non-free rpi

3.更新系统软件 并 更新已安装的包

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

License

License under CC BY-NC-ND 4.0: 署名-非商业使用-禁止演绎


Reference:
NULL