Skip to content

Instantly share code, notes, and snippets.

@namjae
Created September 1, 2018 05:37
Show Gist options
  • Select an option

  • Save namjae/3a5de043f142e03248d16364ba0f256f to your computer and use it in GitHub Desktop.

Select an option

Save namjae/3a5de043f142e03248d16364ba0f256f to your computer and use it in GitHub Desktop.
ROS Installation on Ubuntu

Ubuntu ROS 설치/설정

설치

$ 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://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
$ sudo apt update
$ sudo apt install ros-melodic-desktop-full

설정

  • 초기화

sudo rosdep init
rosdep update
  • 환경 설정 (optional)

echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment