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?
↧