rosdep

rosdep install is a command used in ROS (Robot Operating System) to install system dependencies for software you want to build from source.

  • Reads the package manifest (package.xml) to identify and install missing dependencies.
  • Rosdep uses the package management system of your operating system to install them.

Rosdep calls apt install.

  • For mac, does it call brew install?

This ensures that all required libraries, tools, and other system packages are available for building and running the ROS2 packages.

https://docs.ros.org/en/humble/Tutorials/Intermediate/Rosdep.html

rosdep install --from-paths src --ignore-src -r -y