Installing ROS

This page is outdated. If you want to install the electric version of ROS then follow the directions found here:

http://www.ros.org/wiki/electric/Installation/Ubuntu

Ubuntu

ROS is extremely easy to install on machine running Ubuntu. Detailed instructions can be found here. To make things even simpler, I've copied and pasted the steps below that I suggest you take to get up and running. Installation takes approximately 30 minutes or so based on the speed of your Internet connection. Most of the time is waiting for it download.

Note:

  • Make sure you have at least 5GB of hard drive space available for the installation.
  • You will see below that I suggest you install ros-cturtle-pr2 instead of "base" because you might want to use the PR2 for your final project. You also might want any code written for the PR2 as a reference.

Just copy and paste each command into your terminal. Be sure to check for errors after each step.

  1. Setup your sources.list
  2. Set up your keys
    wget http://code.ros.org/packages/ros.key -O - | sudo apt-key add -
  3. Update your packages
    sudo apt-get update
  4. Installation Note: This is a 2+ gb download....so get yourself a beer :)
    sudo apt-get install ros-cturtle-pr2
  5. Set your environment variables
    echo "source /opt/ros/cturtle/setup.sh" >> ~/.bashrc; . ~/.bashrc

Ready to Rock!

MacOS

Installing and running ROS and OGRE based packages (Gazebo, Rviz) is possible on a Mac, however, we don't officially support it in class. Below you can find directions on how to do so:

MacOS X Installation Instructions
Using ROS on MacOS X\\