Ubuntu and ROS Setup

From RobotForAll
Jump to: navigation, search

Ubuntu 16.04

following steps in the link to install Ubuntu 16.04

Install ROS kinetic

Setup your sources.list

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

Set up your keys

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

update package index

$ sudo apt-get update

ROS Desktop-Full Install

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

Initialize rosdep

$ sudo rosdep init
$ rosdep update

Environment setup

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

Dependencies for building packages

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