Robotics StackExchange | Archived questions

Installing only top-level dependencies for a package?

Is there a way I can use apt-get install command to install a ROS package and its first level dependencies only instead of all the dependencies recursively? I don't actually want to install or update the dependencies that this ROS package depends on, "recursively". During running a particular application if any 'dependency-not found' error is thrown, I would like to see what exactly is missing. Also, I have found a command debtree --max-depth=number that can limit the traversal of dependency tree. Is there a way I can integrate it with apt-get install or any other installation tool to get only the top level dependencies of a package?

Asked by sam26 on 2017-03-01 23:49:24 UTC

Comments

Even though you mention "ROS packages", this is not really a ROS-related question, but more something to do with apt-get. The same question could be asked for any .deb pkg.

I'm pretty sure you'll have more luck getting good answers on a site like Stack Overflow instead of here.

Asked by gvdhoorn on 2017-03-02 07:14:13 UTC

Answers