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

bash: /opt/ros/indigo/setup.bash: No such file or director

asked 2014-12-21 04:19:49 -0500

fireice gravatar image

updated 2014-12-22 01:43:47 -0500

gvdhoorn gravatar image

I have installed ros indigo on ubuntu 14.04.1 following the instructions. But met a problem, details like below:

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

Then i check the directory of "/opt", found that it is empty, like below:

ros@ubuntu:/opt$ ls -al

total 8

drwxr-xr-x  2 root root 4096 Dec 21 13:40 .

drwxr-xr-x 23 root root 4096 Dec 21 13:35 ..

ros@ubuntu:/opt$

And when i executed the commands(like following), it gave the same error.

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

source ~/.bashrc

Could someone help me? Thanks a lot!

edit retag flag offensive close merge delete

Comments

Did anything fail during sudo apt-get install ros-hydro-destop-full ?

Wolf gravatar image Wolf  ( 2014-12-22 01:01:55 -0500 )edit
1

Also: which "instructions"?

gvdhoorn gravatar image gvdhoorn  ( 2014-12-22 01:44:08 -0500 )edit

@Wolf I used sudo apptitude install ros-indigo-desktop-full instead of sudo apt-get.

But there were no error.

fireice gravatar image fireice  ( 2014-12-22 09:27:41 -0500 )edit
fireice gravatar image fireice  ( 2014-12-22 09:29:20 -0500 )edit

Hi friends I am also suffering from same problems in my raspberryPI 3B. My operating system is NOOBS, but i found command line instruction for Wheezy or Jessie. How can i solve these problems.

krishna890227 gravatar image krishna890227  ( 2016-07-04 01:52:45 -0500 )edit

@krishna890227 please open a new question, with sufficient info of your situation.

130s gravatar image 130s  ( 2016-07-04 18:23:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-12-22 08:28:51 -0500

Andromeda gravatar image

updated 2016-02-01 03:41:00 -0500

130s gravatar image

You simply didn't install anything. Since you are going to use Ubuntu 14.04.1 it is for you the best option to simply install from the repository. Here you have the procedure. Just pay attention to every code of line, don't forget any instructions. Later on you can configure your environment accordingly. The first 2-3 times I had problems too. The first problem to understand,why and what you need to run ROS. But after that you can fast realize that's quite normal and it won't be a problem anymore :P

edit flag offensive delete link more

Comments

thanks! i will try again.

fireice gravatar image fireice  ( 2014-12-22 09:30:30 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-12-21 04:19:49 -0500

Seen: 13,656 times

Last updated: Jul 04 '16