Skip to content

Commit 0104876

Browse files
run rosdep without sudo (#735)
1 parent 9b7aeb1 commit 0104876

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ Download the ``ros2_control_demos`` repository and install its dependencies with
119119
cd ~/ros2_ws/src
120120
git clone https://github.com/ros-controls/ros2_control_demos -b {REPOS_FILE_BRANCH}
121121
cd ~/ros2_ws/
122-
rosdep update --rosdistro=$ROS_DISTRO
123122
sudo apt-get update
124-
sudo rosdep install --from-paths ./ -i -y --rosdistro ${ROS_DISTRO}
123+
rosdep update --rosdistro=$ROS_DISTRO
124+
rosdep install --from-paths ./ -i -y --rosdistro ${ROS_DISTRO}
125125
126126
Now you can build the repository (source your ROS 2 installation first)
127127

0 commit comments

Comments
 (0)