Skip to content
Advertisement

ROS Noetic setup: /etc/ros/noetic/setup.bash not created

I am attempting to set up ROS noetic for Linux Mint 20. However, “sudo apt search ros-noetic” does not return anything. I ran the most similar package I could find, “ros-desktop-full,” and followed the rest of the wiki’s installation instructions from there, but can’t figure out how to finish environment setup, since /etc/ros/noetic/setup.bash was not created.

sudo find / -name ros:

JavaScript

ls /usr/include/ros:

JavaScript

ls /etc/ros:

JavaScript

ls ~/Documents/school_stuff/internship/dependencies/DynamixelSDK/ros:

JavaScript

/opt/ros is empty (this directory was not created automatically; I created it manually)

sudo find / -name setup.bash:

JavaScript

Advertisement

Answer

ros-desktop-full isn’t what you want. Instead you want the noetic specific version; which is why the noetic setup file is missing. When installing on Mint your apt sources will be trying to use the Mint name(Ulyana) and not the Ubuntu name ROS uses(Focal). To fix this you can simply edit your ros apt listing in /etc/apt/sources.list.d/ros-latest.list. If you don’t want to append manually you can run

JavaScript

Then after an apt update you should be able to successfully install via sudo apt install ros-noetic-desktop-full

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement