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.

相关推荐
云的牧人3 小时前
Ubuntu 22 redis集群搭建
linux·运维·ubuntu
小猪写代码4 小时前
Ubuntu 文件权限管理
linux·ubuntu
jzzy_hony6 小时前
移植Qt4.8.7到ARM40-A5
qt·ubuntu·arm·终端
davenian9 小时前
< 自用文 OS 有关 > (续)发现正在被攻击 后的自救 Fail2ban + IPset + UFW 工作流程详解
ubuntu·bash·fail2ban·ipset
阿贤Linux10 小时前
设置网卡名称为传统命名方式
linux·ubuntu
GoodG_study12 小时前
windows通过xrdp远程连接Ubuntu黑屏问题解决
linux·ubuntu
一张假钞12 小时前
Windows 11主机Ubuntu 24.04虚机共享目录权限问题
linux·运维·ubuntu
GoodG_study13 小时前
一文教您解决win11运行Ubuntu,wsl相关命令出现系统找不到指定文件的错误提示
linux·ubuntu·wsl
daizhe15 小时前
Mac M4环境下基于VMware Fusion虚拟机安装Ubuntu24.04 LTS ARM版
ubuntu·macos