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.

相关推荐
wdfk_prog1 分钟前
Wi-Fi Direct教程 02:从 wpa_cli main() 到 P2P_FIND——用源码注释追踪 CLI 控制命令发送
运维·服务器·网络·网络协议·ubuntu·p2p·wifi-direct
skywalk816311 分钟前
Deepseek harness的4种模式 配置文件内容
linux·人工智能·ubuntu·deepseek·harness
A7bert7772 小时前
【SAM3部署至AGX Orin】环境配置→模型部署→问题记录
c++·人工智能·深度学习·ubuntu
倔强的小石头_2 小时前
Ubuntu部署Prometheus与Alertmanager:systemd配置、告警对接及cpolar远程访问
数据库·ubuntu·prometheus
风华同学3 小时前
免密SSH登录Ubuntu
linux·运维·ubuntu
wdfk_prog4 小时前
Wi-Fi Direct 教程 04:Interface 协议子系统初始化——WPA/EAPOL、WPS、DPP/NAN、GAS 与 P2P callback
android·运维·服务器·ubuntu·p2p·wps·wifi-direct
贵沫末13 小时前
Ubuntu——常用软件安装
linux·运维·ubuntu
阿钱真强道17 小时前
15 嵌入式操作系统 | 库的下载、编译、安装与验证(libubox / ubus / uci)
ubuntu·cmake·uci·ubus·libubox
云杂项18 小时前
tmux指南:安装、配置与高效使用(Ubuntu上)
linux·服务器·ubuntu
艸肅18 小时前
Ubuntu 安装 JDK (含手动安装)
java·ubuntu·jdk