ROS is a set of software libraries and tools that help you build robot applications.
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 install curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt update
sudo apt upgrade
sudo apt install ros-noetic-desktop-full
source /opt/ros/noetic/setup.bash
.bashrc
file so that it is sourced automatically in every new terminal:echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
Visit this link for more details: Ubuntu install of ROS Noetic
locale # check for UTF-8
sudo apt update && sudo apt install locales
sudo locale-gen en_US en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LANG=en_US.UTF-8
locale # verify settings
sudo apt install software-properties-common
sudo add-apt-repository universe
sudo apt update && sudo apt install curl -y
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
sudo apt update
sudo apt upgrade
sudo apt install ros-foxy-desktop python3-argcomplete
sudo apt install ros-dev-tools
source /opt/ros/foxy/setup.bash
.bashrc
file so that it is sourced automatically in every new terminal:echo "source /opt/ros/foxy/setup.bash" >> ~/.bashrc
Visit this link for more details: Ubuntu install of ROS Foxy Fitzroy