输入如下命令,下载 ROS 的 GPG Key:
sudo apt install curl gnupg2
curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key | sudo gpg --dearmor -o /usr/share/keyrings/ros-archive-keyring.gpgecho "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] https://mirrors.zju.edu.cn/ros2/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
sudo apt updateReference: https://docs.ros.org/en/jazzy/Installation/Ubuntu-Install-Debians.html
rosdep
文档内容来自 mirrorz-org/mirrorz-docs@50cb65f78be4,依据 CC BY-NC-SA 4.0 提供。