ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The install instructions for Arch linux show how to get a user-local installation of ros in the directory ~/ros with all stacks being direct subdirectories of it.
If you have several users on the same computer, you might want to consider doing a shared installation with the same directory layout as the debian packages. Unfortunately there is no tutorial on this anymore. In short, you need to download the rosinstall file of the variant you want to use, adjust it to have all stacks in the subdir stacks and execute the rosinstall command (as root) with destination /opt/ros/<distro>. Then, again as root, execute
rosmake -a -i --rosdep-install
to build all packages and mark them as compiled in order to make them usable for users.
If you have only one user, you can use the arch installation and just add your stacks. Change your own rosinstall file to not contain the two lines you mentioned in your question and do:
rosinstall ~/ros your-file.rosinstall
This is basically the solution you pointed out already.