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

bash no such file

asked 2014-02-26 11:07:21 -0500

felipe gravatar image

good afternoon request your assistance already in my ROS installation, I get the following error bash: / opt / ros / hydro / setup.bash: No such file or directory after the following command: echo "source / opt / ros / hydro / setup.bash" >> ~ / bashrc. source ~ /. bashrc, thanks for your help and your time

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-26 12:44:10 -0500

ahendrix gravatar image

It looks like you have a number of extra spaces in your command. It should be:

echo "source /opt/ros/hydro/setup.bash" >> ~ /.bashrc
source ~/.bashrc

Note the lack of spaces between the slashes ( / ).

You will probably have to edit your ~/.bashrc to remove the line you've added that does contain spaces; otherwise it will continue to generate errors.

edit flag offensive delete link more

Comments

1

Following up please use copy and paste as much as possible when asking questions to avoid typos.

tfoote gravatar image tfoote  ( 2014-02-26 12:58:43 -0500 )edit

Question Tools

Stats

Asked: 2014-02-26 11:07:21 -0500

Seen: 1,256 times

Last updated: Feb 26 '14