Skip to content

Instantly share code, notes, and snippets.

@jmpinit
Last active December 30, 2019 03:24
Show Gist options
  • Select an option

  • Save jmpinit/a33d4dd1fd8e112d1fe4fcb011c4a161 to your computer and use it in GitHub Desktop.

Select an option

Save jmpinit/a33d4dd1fd8e112d1fe4fcb011c4a161 to your computer and use it in GitHub Desktop.
Setup ROS Melodic in Ubuntu 18.04.
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 -y ros-melodic-desktop-full
sudo rosdep init
rosdep update
echo "source /opt/ros/melodic/setup.zsh" >> ~/.zshrc
source ~/.zshrc
sudo apt -y install python-rosinstall python-rosinstall-generator python-wstool build-essential
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment