ROS on BeagleBone Black?

Which Robot operating System (ROS) distribution can be installed on Beagle Bone Black with Ubuntu 16.04?


There is a ROS release every year in May. Every ROS release will be supported on exactly one Ubuntu LTS. ROS releases will drop support for EOL (End Of Life) Ubuntu distributions, even if the ROS release is still supported. The ROS Kinetic release is currently supported only on Ubuntu 16.04.


ROS Kinetic installation in Ubuntu 16.04

  1. Configure your Ubuntu repositories to allow "restricted", "universe" and "multiverse".

  2. Run these commands:

    sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'  
    sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA116  
    sudo apt update  
    
  3. Select one of four default ROS configurations.

    sudo apt install ros-kinetic-desktop-full # full desktop
    sudo apt install ros-kinetic-desktop # desktop install
    sudo apt install ros-kinetic-ros-base # no GUI
    sudo apt install ros-kinetic-PACKAGE # individual package installation
    

    To find available packages, use: apt-cache search ros-kinetic and then replace PACKAGE in ros-kinetic-PACKAGE by one of the available packages found by apt-cache search ros-kinetic

  4. Initialize rosdep. rosdep enables you to easily install system dependencies for source you want to compile and is required to run some core components in ROS.

    sudo rosdep init
    rosdep update  
    
  5. Environment setup

    echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc  
    source ~/.bashrc  
    
  6. Get rosinstall. rosinstall enables you to easily download many source trees for ROS packages with one command.

    sudo apt install python-rosinstall  
    
  7. To test your installation, visit the official ROS Tutorials.


ROS Melodic installation in Ubuntu 18.04

  1. Configure your Ubuntu repositories to allow "restricted", "universe" and "multiverse".

  2. Run these commands:

    sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'  
    sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
    sudo apt update  
    
  3. Select one of four default ROS configurations.

    sudo apt install ros-melodic-desktop-full # full desktop
    sudo apt install ros-melodic-desktop # desktop install
    sudo apt install ros-melodic-ros-base # no GUI
    sudo apt install ros-melodic-PACKAGE # individual package installation
    

    To find available packages, use: apt-cache search ros-melodic and then replace PACKAGE in ros-melodic-PACKAGE by one of the available packages found by apt-cache search ros-melodic

  4. Initialize rosdep. rosdep enables you to easily install system dependencies for source you want to compile and is required to run some core components in ROS.

    sudo rosdep init
    rosdep update  
    
  5. Environment setup

    echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc  
    source ~/.bashrc  
    
  6. Get rosinstall. rosinstall enables you to easily download many source trees for ROS packages with one command.

    sudo apt install python-rosinstall-generator python-wstool build-essential  
    
  7. To test your installation, visit the official ROS Tutorials.


ROS Noetic installation in Ubuntu 20.04

  1. Configure your Ubuntu repositories to allow "restricted", "universe" and "multiverse".

  2. Run these commands:

    sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'  
    sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
    sudo apt update  
    
  3. Select one of four default ROS configurations.

    sudo apt install ros-noetic-desktop-full # full desktop
    sudo apt install ros-noetic-desktop # desktop install
    sudo apt install ros-noetic-ros-base # no GUI
    sudo apt install ros-noetic-PACKAGE # individual package installation
    

    To find available packages, use: apt-cache search ros-melodic and then replace PACKAGE in ros-melodic-PACKAGE by one of the available packages found by apt-cache search ros-melodic

  4. Initialize rosdep. rosdep enables you to easily install system dependencies for source you want to compile and is required to run some core components in ROS.

    sudo rosdep init
    rosdep update  
    
  5. Environment setup

    echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc  
    source ~/.bashrc  
    
  6. Get rosinstall. rosinstall enables you to easily download many source trees for ROS packages with one command.

    sudo apt install python-rosinstall-generator python-wstool build-essential  
    
  7. To test your installation, visit the official ROS Tutorials.

Source: Ubuntu install of ROS Kinetic, Ubuntu install of ROS Melodic, Ubuntu install of ROS Noetic