Is there any way to install ROS on Elementary OS Loki?

I found on the internet a tutorial step by step for Freya, but I only managed to have installable packages with dependency problems :/

  • What is ROS? If this is ROS, can you try that guide? It should work since Loki is based on Xenial – Maccer Dec 10 '16 at 22:00
  • Yes, that's the one. Unfortunately when I try this guide it returns me an error while installing ros-kinetic-desktop-full - no package error. – Dysproz Dec 10 '16 at 22:02
  • Check what packages are avaliable with apt-cache search ros-kinetic – Maccer Dec 10 '16 at 23:41

Based on the tutorial suggested by Maccer:

# Setup your sources.list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu xenial main" > /etc/apt/sources.list.d/ros-latest.list'
# Set up your keys
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 5523BAEEB01FA116
# Install the package(s) wanted.
sudo apt update
sudo apt install ros-kinetic-desktop-full

I solved the problem just following the shadow-fixed instructions and changing in /etc/apt/sources.list.d/ros-latest.list ros for ros-shadow-fixed. After that when I install ros-kinetic-desktop-full (not ros-kinetic-my-just-released-package!) it does not give me error anymore.

  • You should edit this (or the other) answer so that it includes the steps you actually have to do for future reference and accept it – lemonslice Dec 13 '16 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.