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

Revision history [back]

click to hide/show revision 1
initial version

What you ask is the default behaviour of packages in workspaces: whatever you place in your workspace will take precedence over what you installed using apt-get.

What you ask is the default behaviour of packages in workspaces: whatever you place in your workspace will take precedence over what you installed using apt-get.


Edit: taking this a bit further: your Catkin workspace essentially overlays the /opt/ros/$distro directory (which basically is an install space).

So is there a way to have a locally installed version of the package in my workspace and use it somehow ignoring the preinstalled one?

What you ask is the default behaviour of packages in workspaces: whatever you place in your workspace will take precedence over what you installed using apt-get.


Edit: taking this a bit further: your Catkin workspace essentially overlays the /opt/ros/$distro directory (which basically is an install space).