1、下载Ubuntu20.04
https://ubuntu.com/download/raspberry-pi
2、下载image工具
https://www.raspberrypi.org/downloads/
3、写入镜像
4、安装完成之后,有线网络的话,可以通过路由器查看树莓派地址,名称是ubuntu,如果使用无线的话,可以通过这里查看如何设置无线网络https://blog.csdn.net/mankaichuang/article/details/105875726
5、ssh连接,第一次连接会提示修改ubuntu用户密码
6、更换下载源,在各大镜像源网站找到ubuntu-ports的镜像地址,
阿里地址:https://mirrors.aliyun.com/ubuntu-ports/
中国科技大学地址:http://mirrors.ustc.edu.cn/ubuntu-ports