Overview: Install ros and ubuntu20.04 on Raspberry pi 4

1. installation of Raspberry Pi imager from official website

Select the operating system as Ubuntu Server 20.04. However, there is no ubuntu desktop in that case. So you have to install the ubuntu-desktop manually. Configure your own password and user name.

2. prepare the SD card.

Upload the operating system to the SD card.

3. change the download source

If you work or study at China, you have to modify the download source to make the downloading process stable.

shell 复制代码
cd /etc/apt

cp sources.list ./sources.list.bak

 sudo sed -i  's/ports.ubuntu.com/mirrors.ustc.edu.cn/g' sources.list

And then:

shell 复制代码
sudo apt update
sudo apt upgrade

4. install the ubuntu-desktop

The shell command is :

shell 复制代码
sudo apt install ubuntu-desktop

5. ROS noetic installation

shell 复制代码
wget http://fishros.com/install -O fishros && bash fishros

Select the option that matches your own device.

6. Others

If you want to install vscode, turn to [5] and re-select installation option.

相关推荐
maotou5263 小时前
Ubuntu22学习记录
linux·ubuntu
放飞自我的Coder5 小时前
【win11 安装WSL2 详解一遍过!!】
linux·ubuntu
蜕变的土豆5 小时前
Ubuntu下软件运行常见异常退出问题汇总分析
linux·ubuntu
lswzw6 小时前
Ubuntu K8s集群安全加固方案
安全·ubuntu·kubernetes
Jtti8 小时前
Ubuntu服务器上如何监控Oracle数据库
服务器·数据库·ubuntu
自学AI的鲨鱼儿10 小时前
Ubuntu / WSL 安装pipx
linux·运维·ubuntu
跳跳糖炒酸奶17 小时前
第十五讲、Isaaclab中在机器人上添加传感器
人工智能·python·算法·ubuntu·机器人
阿桨20 小时前
【(保姆级教程)Ubuntu24.10下部署Dify】
ubuntu·dify·智能体
该死的碳酸饮料呀21 小时前
PLOG安装
linux·ubuntu
徐凤年_1 天前
Ubuntu20.04下GraspNet复现流程中的问题
linux·python·ubuntu·ai