ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Installing an overlay in the install space of the underlay.

asked 2014-03-07 03:48:28 -0600

demmeln gravatar image

Is it possible to install an overlay in the same install space as an underlay? For example, if I have a base install from source in /opt/ros/hydro, it might be convenient to extend it with additional packages in an overlayed workspace instead of augmenting the original workspace (which for the desktop-full install has about 250 packages on hydro). If those additional packages are merely dependencies (i.e. I don't intend to modify them) and not specific to one project, installing them on top of the underlay in /opt/ros/hydro would be convenient.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-07 04:15:59 -0600

Dirk Thomas gravatar image

Yes, that is no problem.

This is commonly used to install multiple packages / workspace to a single location. Basically /opt/ros/DISTRO can be considered as an example since every Debian package is its own little "workspace".

edit flag offensive delete link more


I was woundering precicely if for debian packages there was something special going on to make it work. Thanks.

demmeln gravatar image demmeln  ( 2014-03-07 04:36:51 -0600 )edit

One thing is special for the Debian packages. Only the catkin package comes with the setup files. If you install workspace they will always overwrite the existing setup files. But that should not be an issue since the generated content should be identical.

Dirk Thomas gravatar image Dirk Thomas  ( 2014-03-07 04:57:36 -0600 )edit

Aha. Is this true for 'sibling overlays'? I.e. if I have two workspaces A and B both overlaying workspace C, they both install the same setup files, therefore I can install both A and B in the same install space, right?

demmeln gravatar image demmeln  ( 2014-03-07 05:10:06 -0600 )edit

Without thinking too much about that scenario I would say "yes, that should work".

Dirk Thomas gravatar image Dirk Thomas  ( 2014-03-07 05:29:37 -0600 )edit

Question Tools

1 follower


Asked: 2014-03-07 03:48:28 -0600

Seen: 375 times

Last updated: Mar 07 '14