From c6b82754215b1f00851831796238cba822104d27 Mon Sep 17 00:00:00 2001 From: Anton Matosov Date: Sun, 9 Mar 2025 12:29:33 -0700 Subject: [PATCH] run rosdep without sudo (#735) (cherry picked from commit 0104876d355932c08e53e0c8c0175c713ca7ec55) --- doc/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/index.rst b/doc/index.rst index 592bd7708..d0a5149e9 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -119,9 +119,9 @@ Download the ``ros2_control_demos`` repository and install its dependencies with cd ~/ros2_ws/src git clone https://github.com/ros-controls/ros2_control_demos -b {REPOS_FILE_BRANCH} cd ~/ros2_ws/ - rosdep update --rosdistro=$ROS_DISTRO sudo apt-get update - sudo rosdep install --from-paths ./ -i -y --rosdistro ${ROS_DISTRO} + rosdep update --rosdistro=$ROS_DISTRO + rosdep install --from-paths ./ -i -y --rosdistro ${ROS_DISTRO} Now you can build the repository (source your ROS 2 installation first)