Robotics StackExchange | Archived questions

No setup.bash after Noetic install

I am on Ubuntu 20.04 and have installed Noetic according to the instructions here and choosing the ros-noetic-desktop-full install: http://wiki.ros.org/noetic/Installation/Ubuntu

I try to source the /opt/ros/noetic/setup.bash file, but it does not exist:

$ ls /opt/ros/noetic/
bin  etc  include  lib  share

What could cause this?

Asked by Jeffrey Kane Johnson on 2020-07-10 11:40:29 UTC

Comments

Did you delete something

Asked by stevemacenski on 2020-07-10 13:47:44 UTC

No? I'm not sure what you're asking. The instructions told me to source that setup.bash file but it isn't there.

Asked by Jeffrey Kane Johnson on 2020-07-10 13:49:25 UTC

How much of Noetic is installed? Up to desktop-full, desktop, ros-base?

Asked by sloretz on 2020-07-10 15:34:02 UTC

I installed desktop full; also updated the question to add that info.

Asked by Jeffrey Kane Johnson on 2020-07-10 15:36:09 UTC

Answers

Have you ran catkin_make yet?

cd ~/catkin_ws
catkin_make
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc

Asked by rmmilner on 2020-07-10 18:23:56 UTC

Comments

That wouldn't solve the problem. Besides, I can't do it anyway: catkin_make isn't available until the setup file is sourced. But I don't have the setup file.

Asked by Jeffrey Kane Johnson on 2020-07-12 20:30:11 UTC