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

Revision history [back]

I imagine you have source /opt/ros/groovy/setup.bash somewhere in your other bash file.

If you do, then you should not have to source the file in the .bashrc.

If you don't, however, try omitting it/commenting it out (use a '#' in front of the line). If it doesn't work, then replace it.

I imagine you have source /opt/ros/groovy/setup.bash somewhere in your other bash file.

If you do, then you should not have to source the file in the .bashrc.

If you don't, however, try omitting it/commenting it out (use a '#' in front of the line). If it doesn't work, then replace it.

I don't know what would happen if you sourced it twice. I'm pretty sure it would not break anything. If I were you, I'd try it. If it doesn't work, reverse it.

Make a copy of your current settings:

cp ~/.bashrc ~/.bashrc.old

Then modify it. If it breaks stuff, then just do:

cp ~/.bashrc.old ~/.bashrc