Sei sulla pagina 1di 2

ROS Installation Guide

Requirements:

PC running Linux version 14.04 (recommended) or 16.04


MAC OS X.
There are no minimum hardware requirements. However, RAM greater than 4GB is
recommended. But ROS will typically work regardless.

There are several ROS versions available online. However, it is recommended to install ROS Indigo. This
is not the latest version, but it is still supported by ROS, it is stable and compatible with most optional
packages.

Reference:
The instructions here are extracted from ros.org installation instructions for ROS Indigo.
http://wiki.ros.org/indigo/Installation/Ubuntu

Ubuntu Trusty (14.04) and Xenial Xerus 16.04:


ROS supported version: ROS Indigo
Installation instructions:

Setup your sources.list. Setup your computer to accept software from packages.ros.org.

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


pt/sources.list.d/ros-latest.list'

Set up your keys

sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB0


1FA116

Make sure to disable any internet firewalls before executing this command.

Update the Debian package list

sudo apt-get update

If you see no errors, to install ROS-Indigo execute the command;

sudo apt-get install ros-indigo-desktop

If there are missing package error after you execute this command, then you can execute the
command below (DO NOT EXECUTE FOR UBUNTU 14.04).

sudo apt-get install xserver-xorg-dev-lts-utopic mesa-common-dev-lts-utopic l


ibxatracker-dev-lts-utopic libopenvg1-mesa-dev-lts-utopic libgles2-mesa-dev-l
ts-utopic libgles1-mesa-dev-lts-utopic libgl1-mesa-dev-lts-utopic libgbm-devlts-utopic libegl1-mesa-dev-lts-utopic

Next initialize rosdep by executing;

sudo rosdep init


rosdep update

Next step is to setup environment. If you skip this step, ROS, even if it is installed will not be
recognized by Linux.

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


source ~/.bashrc

ROS installation is complete at this stage. Once you have


Next step is install rosinstall. This can be done by executing the command;

sudo apt-get install python-rosinstall

MAC OS X:
OSX is not officially supported by ROS and the installation might fail for several reasons. The instructions
are available on;

http://wiki.ros.org/indigo/Installation/OSX/Homebrew/Source

Due to installation failures, if you have a MAC, it is recommended you install a virtual machine, and then
follow the instruction for Ubuntu installation given above. There are several methods available to run a
virtual machine on a MAC. One sample instruction is given on
http://www.simplehelp.net/2015/06/09/how-to-install-ubuntu-on-your-mac/
You can follow other instructions you might find better. Once you have a virtual machine running, you
can install ROS on it using instructions above.

Potrebbero piacerti anche