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.

相关推荐
写点什么啦8 小时前
[debug]不同的window连接ubuntu的vscode后无法正常加载kernel
linux·vscode·ubuntu·debug
wellnw8 小时前
[ubuntu]编译共享内存读取出现read.c:(.text+0x1a): undefined reference to `shm_open‘问题解决方案
linux·ubuntu
oushaojun212 小时前
ubuntu中使用ffmpeg和nginx推流rtmp视频
nginx·ubuntu·ffmpeg·rtmp
命里有定数16 小时前
Ubuntu问题 -- 通过远程修改文件配置ubuntu服务器的静态IP (不需要到服务器现场) (通过NetworkManager)
运维·服务器·tcp/ip·ubuntu·网卡
古月居GYH16 小时前
ROS一键安装脚本
人工智能·机器人·ros
DeepAlchemy17 小时前
ROSSERIAL与Arduino IDE交叉开发(UBUNTU环境,包含ESP32、arduino nano)
c++·单片机·ros·rosserial
命里有定数19 小时前
Ubuntu问题 - 显示ubuntu服务器上可用磁盘空间 一条命令df -h
服务器·ubuntu·数据集
命里有定数1 天前
Ubuntu问题 -- 设置ubuntu的IP为静态IP (图形化界面设置) 小白友好
linux·tcp/ip·ubuntu·ip
基极向上的三极管1 天前
【Linux学习】【Ubuntu入门】1-8 ubuntu下压缩与解压缩
linux·ubuntu
云计算运维丁丁1 天前
Linux四剑客及正则表达式
linux·运维·服务器·ubuntu