[Documentation] [TitleIndex] [WordIndex

Ubuntu install (Pre-compiled binaries)

We are building Debian packages for several Ubuntu platforms, listed below. These packages are more efficient than SVN-based builds and are our preferred installation method for Ubuntu.

Installation

Setup your sources.list

You will first need to setup your sources.list file to accept Debian packages from the ROS server.

Mirrors

Set up your keys

Installation

Make sure you have re-indexed the ROS.org server:

Choose your preferred install:

Install Additional ROS Dependencies (Hardy Only)

Not all of the dependencies for ROS on Ubuntu Hardy are available via apt, so you will need to compile and install boost and log4cxx into /opt/ros. This can be done very easily using rosdep:

$ . /opt/ros/boxturtle/setup.sh
$ rosdep install ros

Environment Setup

It's convenient if the ROS environment variables are automatically added to your bash session every time a new shell is launched:

echo "source /opt/ros/boxturtle/setup.sh" >> ~/.bashrc
. ~/.bashrc

If you just want to change the environment of your current shell, you can type:

source /opt/ros/boxturtle/setup.sh

Tutorials

Prerequisites

To install the tutorials you will need at least boxturtle-base installed before running the following, with it setup in your environment. Go back to boxturtle/Installation if you have not installed boxturtle-base.

Environment

If you are using binary installs.

. /opt/ros/boxturtle/setup.sh

If you are using a source install

. ~/ros/setup.sh

Install tool

  • wget --no-check-certificate http://ros.org/rosinstall -O ~/rosinstall
    chmod 755 ~/rosinstall
    ~/rosinstall -o ~/ros-tutorials http://rosinstalls/ros_boxturtle_tutorial.rosinstall

You'll need to configure your environment to enable the tutorials, just like you did with the ROS installation. The command below will automatically load the environment variables in your bash shell:

echo "source ~/ros-tutorials/setup.sh" >> ~/.bashrc
. ~/.bashrc

If you just want to change the environment of your current shell, you can type:

source ~/ros-tutorials/setup.sh

Now, to test your installation, please proceed to the ROS Tutorials.


2024-11-09 13:03