rosdep-dependencies

Resolve ROS 2 package dependencies to apt or pip packages with rosdep.

18|2|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill rosdep-dependencies
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rosdep-dependencies
Source: https://github.com/wimblerobotics/ros2-copilot-skills/tree/main/rosdep-dependencies
Command: npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill rosdep-dependencies

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

rosdep resolves abstract ROS package dependencies to concrete system packages, saving time and avoiding manual installation errors.

Core Features & Use Cases

  • Resolve dependencies for all packages in a workspace using rosdep's standard keys.
  • Support custom rosdep rules for private or non-ROS dependencies.
  • Validate environment readiness for CI or deployment by ensuring consistent system packages.

Quick Start

Run rosdep install --from-paths src --ignore-src -r -y to install all dependencies for every package in the workspace.

Frequently Asked Questions about rosdep-dependencies

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install all ROS 2 dependencies for a workspace?

Rosdep resolves ROS 2 dependencies by mapping abstract keys in package.xml files to concrete system packages like apt or pip. It saves time and avoids manual installation errors when preparing workspaces or CI environments.

Does rosdep work with ROS 2 Jazzy and Rolling distributions?

Yes, rosdep supports custom rules for private or non-ROS dependencies. This allows you to extend rosdep's standard key mappings to resolve specialized system packages outside the default ROS ecosystem.

How do I update rosdep rules before installing packages?

Yes, rosdep validates environment readiness for CI or deployment by ensuring consistent system packages are installed. It resolves all workspace dependencies to verify that the environment meets deployment requirements.

Can I use rosdep for non-ROS dependencies?

Run the rosdep update command to fetch the latest rules. This updates the local cache of dependency mappings, ensuring rosdep accurately resolves package.xml keys to current system packages before installation.

Why validate ROS 2 dependencies for CI environments?

To install ROS 2 dependencies for a workspace, run rosdep install --from-paths src --ignore-src -r -y. This command maps abstract package.xml keys to concrete system packages and installs them automatically.