ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to install ros Melodic or Kinetic on Ubuntu 18.04 (dualboot with Mac)

asked 2019-10-08 22:08:19 -0600

notSoTechnical gravatar image

updated 2019-10-09 02:57:37 -0600

gvdhoorn gravatar image

Commands used:

notsotechnical@notsotechnical-MacBookPro:~$ sudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
notsotechnical@notsotechnical-MacBookPro:~$ sudo apt-key adv --keyserver 'hkp://' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
Executing: /tmp/apt-key-gpghome.j1vznPITel/ --keyserver hkp:// --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
gpg: key F42ED6FBAB17C654: "Open Robotics <>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
notsotechnical@notsotechnical-MacBookPro:~$ sudo apt install ros-melodic-desktop-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
**E: Unable to locate package ros-melodic-desktop-full**
notsotechnical@notsotechnical-MacBookPro:~$ sudo apt install ros-melodic-desktopReading package lists... Done
Building dependency tree       
Reading state information... Done
**E: Unable to locate package ros-melodic-desktop**
notsotechnical@notsotechnical-MacBookPro:~$ apt search ros-melodic
Sorting... Done
Full Text Search... Done
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-10-08 22:47:59 -0600

kane_choigo gravatar image

updated 2019-10-08 22:48:27 -0600

You can install ROS Melodic on Ubuntu 18.04 (NOT ubuntu 16.04) according to here. But if you want to use ROS kinetic, you will be suffered from installation. As far as I know, Ubuntu 18.04 does NOT support ROS kinetic ever. Just so you know, I've tried to install ROS kinetic on Ubuntu 18.04 but never succeeded so far. So if you have Ubuntu 18.04 only, I recommend choosing ROS melodic, else if you hope to use ROS kinetic, you should re-install Ubuntu 16.04 as dual booting and insert ROS kinetic. Have a nice day :)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2019-10-08 22:08:19 -0600

Seen: 1,175 times

Last updated: Oct 09 '19