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.

相关推荐
阿巴~阿巴~2 小时前
使用 C 语言连接 MySQL 客户端(重点)
服务器·数据库·sql·mysql·ubuntu
CS_Zero2 小时前
【开发工具】Windows10&11远程Ubuntu18及以上桌面
笔记·ubuntu
CS Beginner11 小时前
【Linux】 Ubuntu 开发环境极速搭建
linux·运维·ubuntu
老黄编程12 小时前
- custom_action_cpp: 自定义动作创建与调用示例
ros
₯㎕星空&繁华14 小时前
阿里云服务器安装MySQL服务器
服务器·ubuntu·阿里云·云计算
DrugOne17 小时前
Amber24 安装指南:Ubuntu 22.04 + CUDA 12.4 环境
linux·运维·ubuntu·drugone
至善迎风18 小时前
Ubuntu 24.04 SSH 多端口监听与 ssh.socket 配置详解
linux·ubuntu·ssh
心无旁骛~21 小时前
【OpenArm|Control】openarm机械臂ROS2仿真控制
人工智能·ros
bst@微胖子1 天前
Harmony中EventHub实现发布订阅
linux·运维·ubuntu
upgrador1 天前
操作系统命令:Linux与Shell(Operating System & Command Line, OS/CLI)目录导航、文件操作与日志查看命令实践
linux·ubuntu·centos