Robot Operating System: Installation Instructions for Ubuntu

Setup Ubuntu in a VM

  1. Get a free key for VMware Fusion Player
  2. On the same page, download VMware Fusion player for your operating System
  3. Install VMware Fusion Player
  4. Get the Ubuntu 20.04 ISO
  5. Install Ubuntu as a VMware virtual machine

Setup ROS

  1. Add the ROS package repository to your sources.list, and import the required keys.
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 update && sudo apt install ros-noetic-desktop-full
sudo apt install liburdfdom-tools ros-noetic-robot-state-publisher

Starting ROS

  1. Run the following command to export additional path variables in your shell, so that you can execute all the ROS binaries
source /opt/ros/noetic/setup.bash
roslaunch walker_gazebo walker.launch
echo '`source /opt/ros/noetic/setup.bash`' > ~/.bashr

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sebastian

Sebastian

IT Project Manager & Developer