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

Error when I open the terminal: `bash: /opt/ros/jage/setup.bash: No such file or directory`

asked 2016-03-16 02:49:58 -0500

Zero gravatar image

updated 2016-03-16 04:28:13 -0500

I've try reinstall my ROS but after that when i reopen my terminal it will show me :

bash: /opt/ros/jade/setup.bash: No such file or directory

And also during the Environment setup step when i type in " source ~/.bashrc " it shows " bash: /opt/ros/jade/setup.bash: No such file or directory "

any one know how to solve this problem? thank yo

edit retag flag offensive close merge delete



Which ROS-Distro did you install? The title says hydro, the question jade. You cannot install them on the same system.

Also, if you tried reinstalling it and this file is not there, there has ben a problem with the reinstall. Where there any errors when you did sudo apt-get install ros-<XY>?

mgruhler gravatar image mgruhler  ( 2016-03-16 03:03:18 -0500 )edit

Sry, the title should be jage, is not hydro. and im installing indigo.

Zero gravatar image Zero  ( 2016-03-16 03:27:07 -0500 )edit

Then please edit the question.

NEngelhard gravatar image NEngelhard  ( 2016-03-16 04:17:47 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-03-16 04:45:07 -0500

mgruhler gravatar image

This error means that your .bashrc still contains the following line

source /opt/ros/jade/setup.bash

which, according to your question and the comments, you have uninstalled by now. Simply remove this line in the .bashrc!

Above, you have been talking about reinstall ROS. If you uninstalled ROS Jade and now installed ROS Indigo, this error is obvious. For Indigo, you need to source /opt/ros/indigo/setup.bash.

edit flag offensive delete link more

answered 2016-03-16 04:35:54 -0500

Zero gravatar image

i think i find the way to solve it. i just go to /home/darwin/.profile then use sudo nano .profile (because the .profile is hidden file) then delete the bash: /opt/ros/jade/setup.bash

edit flag offensive delete link more


This makes no sense...

This file just sourcing the .bashrc and has nothing to do with ROS! If you remove this, you will also loose other functionality and this might be dangerous!

(also, you don't need sudo to edit this).

mgruhler gravatar image mgruhler  ( 2016-03-16 04:40:58 -0500 )edit

Question Tools

1 follower


Asked: 2016-03-16 02:49:58 -0500

Seen: 1,119 times

Last updated: Mar 16 '16