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.

相关推荐
超级土豆粉6 小时前
从0到1写一个适用于Node.js的User Agent生成库
linux·ubuntu·node.js
抠脚学代码12 小时前
Ubuntu18.6 学习QT问题记录以及虚拟机安装Ubuntu后的设置
qt·学习·ubuntu
Sapphire~19 小时前
Linux-07 ubuntu 的 chrome 启动不了
linux·chrome·ubuntu
啵啵学习20 小时前
Linux 里 su 和 sudo 命令这两个有什么不一样?
linux·运维·服务器·单片机·ubuntu·centos·嵌入式
FREEDOM_X1 天前
新版NANO下载烧录过程
ubuntu·机器人
好多知识都想学1 天前
Linux 文件处理器 sed 和 awk 详细讲解
linux·运维·ubuntu
自动驾驶小卡1 天前
ubuntu 常用操作指令(与域控制器交互相关)
linux·ubuntu·操作指令
曹勖之1 天前
在MATLAB中使用自定义的ROS2消息
开发语言·matlab·机器人·ros·simulink·ros2
心之语歌1 天前
ubuntu24.04 搭建 java 环境服务,以及mysql数据库
linux·ubuntu
y1x2y32 天前
【HITCSAPP 哈工大计算机系统期末大作业】 程序人生-Hello’s P2P
linux·程序人生·ubuntu