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:~$