ros2_documentation icon indicating copy to clipboard operation
ros2_documentation copied to clipboard

How to install `rosdep`?

Open eleehiga opened this issue 2 years ago • 1 comments

I have installed and sourced the bash file for ROS2 but when I run the command rosdep it yields -bash: rosdep: command not found. Therefore, how would you guys recommend me to install rosdep?

eleehiga avatar Sep 25 '22 03:09 eleehiga

I have installed and sourced the bash file for ROS2 but when I run the command rosdep it yields -bash: rosdep: command not found. Therefore, how would you guys recommend me to install rosdep?

You should do sudo apt-get install python3-rosdep to get it.

Note that we are currently working on https://github.com/ros-infrastructure/rep/pull/355, which should make it so that it automatically gets installed when installing ros-rolling-desktop in the future.

clalancette avatar Sep 25 '22 12:09 clalancette

And this actually got done, so I'm closing this out. If you are still having problems, please open up a new issue.

clalancette avatar Jun 20 '23 13:06 clalancette