How to install ROS noetic for testing?
I'm a developer on the ROSflight project, and I would like to check the compatibility of our software with ROS Noetic before it releases. I set up an Ubuntu 20.04 VM, and I tried to install noetic from the apt repository and from source. The apt repo didn't have ros-noetic-desktop
, and when I tried installing from source with the instructions on the wiki, rosinstall_generator skipped it because it isn't released.
$ rosinstall_generator desktop --rosdistro noetic --deps --tar > noetic_desktop.rosinstall
The following unreleased packages/stacks will be ignored: desktop
No packages/stacks left after ignoring unreleased
I understand that because Noetic isn't released, the normal ways for installation may not work. How can I install it for testing? I would expect there to be an option not to skip unreleased for rosinstall_generator, but I couldn't find anything.
Asked by billtheplatypus on 2020-04-23 15:32:13 UTC
Answers
While Noetic has not yet released (Expected release date May 23, 2020) packages are available from the testing repo. Add the repo, apt-get update
, and packages will become available.
echo "deb http://packages.ros.org/ros-testing/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros1-testing.list
apt-get update
The ros-noetic-desktop
package is not yet available as of today, but if all your dependencies are released then you can use rosdep
to fetch just the packages you need from the testing apt repo. This assumes you have your source code checked out in a workspace .
rosdep install --from-paths ./src -i -y --rosdistro noetic
Asked by sloretz on 2020-04-23 16:10:30 UTC
Comments
So this wouldn't install all of ROS at once, only the dependencies for the given software?
Asked by billtheplatypus on 2020-04-23 18:45:20 UTC
Correct. If you would like to install everything, apt-cache search --names-only "ros-noetic"
will show you all ROS packages available, though you'll have to do a little work to turn that list into an apt-get install
command.
Asked by sloretz on 2020-04-23 19:08:09 UTC
On Ubuntu:
sudo sh -c 'echo "deb http://packages.ros.org/ros-testing/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros1-testing.list
Asked by lucasw on 2020-05-01 09:46:47 UTC
Comments
Following up; Noetic is now released https://www.openrobotics.org/blog/2020/5/23/noetic-ninjemys-the-last-official-ros-1-release
Asked by sloretz on 2020-05-23 14:54:47 UTC