Robotics StackExchange | Archived questions

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

Commands used:

notsotechnical@notsotechnical-MacBookPro:~$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
notsotechnical@notsotechnical-MacBookPro:~$ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
Executing: /tmp/apt-key-gpghome.j1vznPITel/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
gpg: key F42ED6FBAB17C654: "Open Robotics <info@osrfoundation.org>" 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
notsotechnical@notsotechnical-MacBookPro:~$

Asked by notSoTechnical on 2019-10-08 22:08:19 UTC

Comments

Answers

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 :)

Asked by kane_choigo on 2019-10-08 22:47:59 UTC

Comments