Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 953 Bytes

InstallMelodic.md

File metadata and controls

54 lines (38 loc) · 953 Bytes

ROS Melodic Installation (for Ubuntu 18.04)

Setup your computer to accept ROS related software

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

Then setup keys

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

To install ROS,

sudo apt update
sudo apt install ros-melodic-desktop-full

Setup environment

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

Dependencies

sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential
sudo rosdep init
rosdep update

To setup catkin tools

sudo apt-get install python-catkin-tools

Setup VS code as text editor https://linuxize.com/post/how-to-install-visual-studio-code-on-ubuntu-18-04/