Installing and configuring your ROS environment

From Lofaro Lab Wiki
Jump to: navigation, search

Installing and configuring your ROS environment

We recommend ROS-hydro on Ubuntu 12.04, instructions given on this link. The commands are given below. Complete all of these in the same Terminal during the same session.

If not using Ubuntu 12.04 and installing hydro: please refer to instructions given here.

1) Setup sources list:

   sudo sh -c 'echo "deb precise main" > /etc/apt/sources.list.d/ros-latest.list'

You may be prompted for your super-user password. This should be your username password. Type it into the terminal and press ENTER.

2) Setup keys:

   wget -O - | sudo apt-key add -

3) Update Debian package:

   sudo apt-get update

4) Install Desktop-Full:

  sudo apt-get install ros-hydro-desktop-full

5) Initialize rosdep:

  sudo rosdep init
  rosdep update

6) Setup Enviornment:

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

7) Install rosinstall:

  sudo apt-get install python-rosinstall