Published March 15, 2026 by with 0 comment

Install ROS 2 on Ubuntu



1. Install Ubuntu on macOS
I use macOS, so I need to install Ubuntu using a virtual machine.

First, download and install UTM:

Then download Ubuntu 24.04.4 LTS:

Use UTM to run Ubuntu.



Do not forget to upgrade the system using this command:
sudo apt update && sudo apt upgrade -y




2. Install Robot Operating System (ROS 2) on Ubuntu
Follow the official ROS 2 installation guide:

Ubuntu (deb packages) — ROS 2 Documentation

At the end of the installation, run the following command so that you do not need to set up the environment every time you open a new terminal:
echo "source /opt/ros/kilted/setup.bash" >> ~/.bashrc


References:
1.Robot Operating System — Wikipedia

2. ROS 2 Documentation


First Published (YYYY-MM-DD) / Last Modified (YYYY-MM-DD)
2026-03-15 / 2026-03-15

0 comments:

Post a Comment