Robotics StackExchange | Archived questions

Install the dependencies and build a subset of packages in a workspace

Hey everyone, I have a pretty big catkin workspace and I would like to build a subset of the packages. Let's say I have a workspaces with packages {A, ..., Z}. Then I want to build package A, and A depends on B, C, D

So, I can just use : catkin build A and A, B, C, and D will be built. But how can I install the dependencies for the package A and it's dependencies without installing all the deps in the workspace ?

I have tried

Thanks !

Asked by Mackou on 2022-03-09 07:35:33 UTC

Comments

Please edit your question to be more specific and accurate. --from-src is not a valid option for rosdep. And "(Only installs dependencies for A and not it's dependencies)" is not clear what is not being installed? When you install a debian package (which is what rosdep does by default) it pulls in all the transitive dependencies automatically.

Asked by tfoote on 2022-03-10 16:39:45 UTC

Answers