Which Robot operating System (ROS) distribution can be installed on Beagle Bone Black with Ubuntu 16.04?
1 Answers
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 updateSelect 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 installationTo find available packages, use:
apt-cache search ros-melodicand then replacePACKAGEinros-melodic-PACKAGEby one of the available packages found byapt-cache search ros-melodicInitialize
rosdep.rosdepenables 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 updateEnvironment setup
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc source ~/.bashrcGet
rosinstall.rosinstallenables you to easily download many source trees for ROS packages with one command.sudo apt install python-rosinstall-generator python-wstool build-essentialTo 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 updateSelect 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 installationTo find available packages, use:
apt-cache search ros-melodicand then replacePACKAGEinros-melodic-PACKAGEby one of the available packages found byapt-cache search ros-melodicInitialize
rosdep.rosdepenables 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 updateEnvironment setup
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc source ~/.bashrcGet
rosinstall.rosinstallenables you to easily download many source trees for ROS packages with one command.sudo apt install python-rosinstall-generator python-wstool build-essentialTo 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 updateSelect 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 installationTo find available packages, use:
apt-cache search ros-kineticand then replacePACKAGEinros-kinetic-PACKAGEby one of the available packages found byapt-cache search ros-kineticInitialize
rosdep.rosdepenables 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 updateEnvironment setup
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc source ~/.bashrcGet
rosinstall.rosinstallenables you to easily download many source trees for ROS packages with one command.sudo apt install python-rosinstallTo test your installation, visit the official ROS Tutorials.
- 110,292
- 102
- 269
- 299
-
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. – Yaser Mohamadi Sep 05 '16 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](https://askubuntu.com/questions/779938/dependency-issue-after-upgrading-to-xenial) -- `dpkg: error processing package ros-kinetic-desktop-full (--configure): dependency problems - leaving unconfigured` – karel Oct 25 '17 at 23:53