1. 编辑文件:sudo vi /etc/apt/sources.list
2. 添加国内清华大学的源,内容如下:
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
3. 然后sudo apt-get update一下
时间: 2024-10-01 07:00:53