top of page
작성자 사진Soojin Woo

How to install ROS Kinetic

최종 수정일: 2020년 5월 15일

Contents in the post based on ROS.org


0. Install Ubuntu 16.04 LTS


1. Setup source.list

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

2. Set up keys

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

// If the key is added newly, you'll able to verify the 'imported' on the terminal. On the other hand, If the key already exists, you'll see whether it is changed.

3. Update Ubuntu (Update Package index)

$ sudo apt-get update

* This command-line is recommended whenever you install Software or Package.

4. Installation - Desktop-Full Install(Recommended)

$ sudo apt-get install ros-kinetic-desktop-full

// There are three methods to install ROS from Desktop-Full install to ROS-Base. Among them, Desktop-Full install is the recommended way. Also, To follow various tutorials on the web, the recommended version is suggested.


5. Initialize rosdep

$ sudo rosdep init
$ rosdep update

// rosdep is a command-line tool for installing system dependencies.

6. Environment setup (option)

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

// Now, Environment variables will be set up whenever you open a new terminal. You could also edit it through .bashrc


 6.1 Check whether Environment variables are well added.

$ printenv | grep ROS

// If you could see Environment variables like 'ROS_ROOT', 'ROS_PACKAGE_PATH', It means that those are added properly.

7. Dependencies for building packages

$ sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential

조회수 280회댓글 0개

최근 게시물

전체 보기

SW Festival

Comments


bottom of page