Which Robot operating System (ROS) distribution can be installed on Beagle Bone Black with Ubuntu 16.04?
1 Answer
ROS on Ubuntu supports armhf and arm64 as well as the amd64 architecture. 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 Noetic is slated to be the last ROS 1 release, and officially will not support anything beyond Ubuntu 20.04.
ROS installation in Ubuntu 22.04 and later.
ROS Noetic is slated to be the last ROS 1 release, and officially will not support anything beyond Ubuntu 20.04. There is a community effort to keep things building though: https://github.com/ros-o.
ROS Noetic installation in Ubuntu 20.04
Configure your Ubuntu repositories to allow restricted, universe and multiverse.
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
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 replacePACKAGE
inros-melodic-PACKAGE
by one of the available packages found byapt-cache search ros-melodic
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
Environment setup
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc source ~/.bashrc
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
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
ROS Melodic installation in Ubuntu 18.04
Configure your Ubuntu repositories to allow restricted, universe and multiverse.
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
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 replacePACKAGE
inros-melodic-PACKAGE
by one of the available packages found byapt-cache search ros-melodic
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
Environment setup
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc source ~/.bashrc
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
To test your installation, visit the official ROS Tutorials.
ROS Kinetic installation in Ubuntu 16.04
Configure your Ubuntu repositories to allow restricted, universe and multiverse.
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
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 replacePACKAGE
inros-kinetic-PACKAGE
by one of the available packages found byapt-cache search ros-kinetic
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
Environment setup
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc source ~/.bashrc
Get
rosinstall
.rosinstall
enables you to easily download many source trees for ROS packages with one command.sudo apt install python-rosinstall
To test your installation, visit the official ROS Tutorials.
-
1Thank you Karel, I followed the steps and successfully installed ROS-Desktop. However, I couldn't install the 'full' version. I guess some of the packages are not yet available. Sep 5, 2016 at 19:54
-
A problem installing ros-kinetic-desktop-full in Ubuntu 16.04 was also reported in this question: Dependency issue after upgrading to xenial --
dpkg: error processing package ros-kinetic-desktop-full (--configure): dependency problems - leaving unconfigured
– karelOct 25, 2017 at 23:53