sudo apt update && sudo apt install curl
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
Add the ROS key with apt.
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt install ros-noetic-desktop
sudo apt install ros-noetic-desktop-full
...
# ROS Noetic
source /opt/ros/noetic/setup.bash
...
Install dependencies for building packages
sudo apt install build-essential
sudo apt install python3-pip
sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool
sudo apt install python3-catkin-lint python3-catkin-tools