ROS Installation on Ubuntu

#ros #vmware #installation

Sanathanan Velaswamy Thangaraj May 15 2021 · 1 min read
Share this

ROS Installation

If we don't have Linux system, then follow below steps for ROS installation in Windows.

Install Virtual Box VMware on Windows and Ubuntu on VMware. Find the below links for step by step installation:

Virtual Box Installation on Windows

Ubuntu installation on VMware

Linux command for ROS installation: Link for ROS NOETIC code

Note: We can get below commands from the above link.

Open “Terminal” in Ubuntu

Step 1:

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

Step 2: Enter the key details

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

Step 3: Need to update

Command: sudo apt update

Enter Y

Step 4:

Command: sudo apt install ros-noetic-desktop-full    (We can install  desktop version also)

Note: It will take some time for installation.

Step 5:

Command A: sudo apt install python3-rosdep

Command B: sudo rosdep init

Command C: rosdep update

Step 6:

Command A: source /opt/ros/noetic/setup.bash                                     

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

Step 7:  To Check ROS has installed or not

Command: roscore

We will see the ROS  start.

Step 6 and 7 is shown in the below 2 images.

Conclusion:

ROS has been installed in Ubuntu.

Comments
Read next