# Please follow steps in the official tutorial. mkdir -p ~/ros2_galactic/src cd ~/ros2_galactic wget https://raw.githubusercontent.com/ros2/ros2/galactic/ros2.repos vcs import src < ros2.repos