How does rosdep install decide which packages to apt-get install?
When running rosdep install
on a clean machine it pulls down lots of packages from apt-get
or whatever is installed. As far as I can determine, it is something connected with the package.xml
, but sometimes a <depend>foo</depend>
ends up installing libfoo-dev
.
Where is the code that does this? Is there an option to apt-get remove
afterwards as a Docker image won't usually need the -dev
variants?
I would guess there isn't an automatic way to do this, but if I could find the logic I could cobble something together for my own needs.