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

Revision history [back]

click to hide/show revision 1
initial version

First, I tried installing it with sudo apt-get install ros-melodic-desktop-full but that didn't work because it wasn't found. Following the suggestion of an online post, I switched to installing it from source.

I would strongly recommend to not install from sources. Especially not under WSL. It's very slow, and you'll spend way too much time managing your installation.

A binary installation is almost always preferred over building things from sources.

desktop_full has been released into Melodic (see status_page/ros_melodic_default.html?q=full fi), so if you couldn't install that, I'm wondering whether you setup your system correctly.

Please figure out whether you have a need for installing ROS from sources, and if you don't, I would revert whatever you already have done and we should try to figure out why sudo apt install ros-melodic-desktop-full didn't work for you, not start a source install and diagnosing problems with that.

First, I tried installing it with sudo apt-get install ros-melodic-desktop-full but that didn't work because it wasn't found. Following the suggestion of an online post, I switched to installing it from source.

I would strongly recommend to not install from sources. Especially not under WSL. It's very slow, and you'll spend way too much time managing your installation.

A binary installation is almost always preferred over building things from sources.

desktop_full has been released into Melodic (see status_page/ros_melodic_default.html?q=full fi), so if you couldn't install that, I'm wondering whether you setup your system correctly.

Please figure out whether you have a need for installing ROS from sources, and if you don't, I would revert whatever you already have done and we should try to figure out why sudo apt install ros-melodic-desktop-full didn't work for you, not start a source install and diagnosing problems with that.


Edit: just noticed this:

I tried the command sudo apt-get update, but that didn't work initially due to a key not being available

If the key also wasn't available the first time you tried sudo apt-get install ros-melodic-desktop-full, then that was the reason why apt couldn't find the package.