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

Trouble setting up noetic environment on Ubunutu 20.04

asked 2020-10-22 12:28:12 -0500

00nick14 gravatar image

I completed the install tutorial on the ROS website, http://wiki.ros.org/noetic/Installati.... Everything worked up to step 1.5, where I get this error message.

nick@nick-Laptop:~$ echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
    nick@nick-Laptop:~$ source ~/.bashrc
    bash: source/opt/ros/noetic/setup.bash: No such file or directory
    bash: source/opt/ros/noetic/setup.bash: No such file or directory
    bash: source/opt/ros/noetic/setup.sh: No such file or directory
    bash: source/opt/ros/noetic/setup.bash: No such file or directory
    bash: source/opt/ros/noetic/setup.bash: No such file or directory
    nick@nick-Laptop:~$

I've done this setup step several times and each time I do it an additional

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

line appears. The first time it was just one, then I did it again and got two, ect. The one in the middle with setup.sh was because I saw a similar problem on a different forum and the .sh fixed it for them, but not for me. ROS is definitely installed, I can run roscore, open turtlesim, and move the turtle around, but the error confuses me. I'm pretty new to linux, and all I really understand is that the echo command is being called a bunch of times when I don't really want it to.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2020-10-22 18:25:24 -0500

It's not clear why but it appears that you have a space missing in that line in your .bashrc. You'll need to open it in a text editor (like nanoor vi), find all those lines you've appended, delete all but one, and then put a space between source and /opt.... Afterwards it should work.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2020-10-22 12:28:12 -0500

Seen: 706 times

Last updated: Oct 22 '20