Ask Your Question
0

i am getting error while installing ros indigo in ubuntu 14.04 LTS?

asked 2016-05-18 17:20:24 -0500

Dhagash Desai gravatar image

bash: source/opt/ros/indigo/setup.bash: No such file or directory I am getting this problem. And the path is also correct. And I installed all the things thrice but still the same problem. while I am able to open gedit .bashrc. can somebody help.....

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-05-19 01:13:58 -0500

mgruhler gravatar image

updated 2016-05-19 08:33:09 -0500

If the error is bash: source/opt/ros/indigo/setup.bash: No such file or directory you simply missed a space when editing your .bashrc

The line should be

source /opt/ros/indigo/setup.bash

and not

source/opt/ros/indigo/setup.bash

EDIT

gedit ~/.bashrc

Find all lines containing source/opt/ros/indigo/setup.bash and delete. Add then following line:

source /opt/ros/indigo/setup.bash

you are good to go.

edit flag offensive delete link more

Comments

mig i also tried with space but the same problem is occurring can u write the whole thing after echo command i am not getting that right......waiting for ur answer

Dhagash Desai gravatar image Dhagash Desai  ( 2016-05-19 06:40:55 -0500 )edit

open your .bashrc with an editor, you still have the line before in it. Remove all lines sourcing something from ROS and only add the last one.

mgruhler gravatar image mgruhler  ( 2016-05-19 06:58:44 -0500 )edit

can u plz write the command not understanding a bit mig sry to disturb u

Dhagash Desai gravatar image Dhagash Desai  ( 2016-05-19 08:06:09 -0500 )edit

nw i am getting bash: /opt/ros/indigo/setup.bash: Permission denied so should i keep only one line and delete all the other lines.....

Dhagash Desai gravatar image Dhagash Desai  ( 2016-05-19 11:47:58 -0500 )edit

thnks mig problem soolved....

Dhagash Desai gravatar image Dhagash Desai  ( 2016-05-19 12:26:40 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-05-18 17:20:24 -0500

Seen: 82 times

Last updated: May 19 '16