Method of installing ROS Noetic in Ubuntu20.04

  • 2021-08-21 21:52:36
  • OfStack

Affirmation: Because the project needs to use ros environment, So here, record the installation process of ROS Noetic under ubuntu 20.04 under 1. The whole process is successfully installed once in sequence. Of course, when the next step is executed, the last step must be successfully executed. When the network is not good, you can try it several times. The following is the process I personally practiced. Now I share it with you for an exchange and study. This process refers to the official installation steps. Here is the official link http://wiki.ros.org/noetic/Installation/Ubuntu.

System requirements: Ubuntu20.04

ROS Installation Version: Noetic

Installation steps:

1. Add sources. list (Set your computer to receive software from packages. ros. org.)


sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

2. Add keys


sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

3. Installation

First, make sure your Debian package index is up to date:


sudo apt update

4. Install the full desktop version: including ROS, rqt, rviz, robot general library, 2D/3D simulator, navigation and 2D/3D sensing


sudo apt install ros-noetic-desktop-full

5. You must obtain the source code for this script in each bash terminal that uses ROS.


source /opt/ros/noetic/setup.bash

6. Environment Configuration


echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc

Related articles: