Differences between revisions 1 and 17 (spanning 16 versions)
Revision 1 as of 2015-05-14 15:49:18
Size: 1682
Editor: ?LeopoldPalomo
Comment: Initial input. It's a draft
Revision 17 as of 2015-06-17 08:37:12
Size: 1612
Editor: ?JochenSprickerhof
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
The official ROS page shows that as platform supported are: Ubuntu and Ubuntu (armhf). Also, it's supported from source. Installation instruction to install ROS on Debian.
Line 3: Line 3:
Install ROS is a Debian box is not a trivial thing. OSRF(current ROS maintainer) provides packages for Ubuntu generated using a tool (bloom). They are installed in /opt/ros/$rosversion and doesn't obey FHS. This point has been discussed in the past [ 1,2], but and some efforts has been done to accomplish it, but it's implementation has show some drawbacks hidden in the ROS implementation. [[DebianScience/Robotics/ROS/Motivation|Motivation]]
Line 5: Line 5:
Also, some GNU/Linux distributions are more strict than other, but for example Debian requires that any library installed has defined a SONAME. === Binary repos (containing ROS core and more) ===
Line 7: Line 7:
The initiative of packaging ROS for Debian was initiated by Thomas Moulard for the debian-science group and continued by Jochen Sprickerhof and Leopold Palomo-Avellaneda. The sources of the packages are hosted here. Debian Stretch/Sid (amd64):
{{{#!highlight bash
sudo sh -c 'echo "deb http://sir.upc.edu/debian-robotics unstable main" > /etc/apt/sources.list.d/debian-robotics.list'
sudo apt-key adv --keyserver pgp.rediris.es --recv-keys 63DE76AC0B6779BF
}}}
Line 9: Line 13:
We have created a set of packages of the core of ROS plus other extras. Currently (May 2015) we have more than half of the packages of desktop_full installation. The packages have been build for: Debian Jessie and Stretch(sid-testing) and Ubuntu Trusty. Debian Jessie (amd64):
{{{#!highlight bash
sudo sh -c 'echo "deb http://sir.upc.edu/debian-robotics jessie-robotics main" > /etc/apt/sources.list.d/debian-robotics.list'
sudo apt-key adv --keyserver pgp.rediris.es --recv-keys 63DE76AC0B6779BF
}}}
Line 11: Line 19:
All the packages comes from the same sources and we just have recompiled in a clean environment for the selected distros. They are more or less lintian clean, but we are still under development. They obey FHS and have the needed SONAMES. The aim of all this effort is to upload them as official packages in Debian. [[https://launchpad.net/~deb-rob/+archive/ubuntu/ros-trusty|Ubuntu Trusty]]:
{{{#!highlight bash
sudo add-apt-repository ppa:deb-rob/ros-trusty
}}}
Line 13: Line 24:
All the installations need the packages created and some part compiled. Also, with a few steps in the environment. With the base of the packages, you can compile almost all the packages created for ROS. To use them try: === Source repos ===

https://anonscm.debian.org/cgit/debian-science/packages/ros

=== Compile the rest of desktop-full ===

Installing the needed packages:

{{{#!highlight bash
apt-get install ros-desktop-full-depends
}}}
Compile the rest (leave out the tutorials line, if you want them):

{{{#!highlight bash
mkdir ~/ros
cd ~/ros
rosinstall_generator desktop_full --rosdistro indigo --deps --wet-only --tar --exclude RPP \
 common_tutorials geometry_tutorials ros_tutorials visualization_tutorials urdf_tutorial \
 ros_base geometry > indigo-desktop-full-wet.rosinstall
wstool init -j8 src indigo-desktop-full-wet.rosinstall
catkin_make_isolated --install
}}}

To use the local ROS workspace:
{{{#!highlight bash
source ~/ros/install_isolated/setup.bash
}}}

Installation instruction to install ROS on Debian.

Motivation

Binary repos (containing ROS core and more)

Debian Stretch/Sid (amd64):

   1 sudo sh -c 'echo "deb http://sir.upc.edu/debian-robotics unstable main" > /etc/apt/sources.list.d/debian-robotics.list'
   2 sudo apt-key adv --keyserver pgp.rediris.es --recv-keys 63DE76AC0B6779BF

Debian Jessie (amd64):

   1 sudo sh -c 'echo "deb http://sir.upc.edu/debian-robotics jessie-robotics main" > /etc/apt/sources.list.d/debian-robotics.list'
   2 sudo apt-key adv --keyserver pgp.rediris.es --recv-keys 63DE76AC0B6779BF

Ubuntu Trusty:

   1 sudo add-apt-repository ppa:deb-rob/ros-trusty

Source repos

https://anonscm.debian.org/cgit/debian-science/packages/ros

Compile the rest of desktop-full

Installing the needed packages:

   1 apt-get install ros-desktop-full-depends

Compile the rest (leave out the tutorials line, if you want them):

   1 mkdir ~/ros
   2 cd ~/ros
   3 rosinstall_generator desktop_full --rosdistro indigo --deps --wet-only --tar --exclude RPP \
   4  common_tutorials geometry_tutorials ros_tutorials visualization_tutorials urdf_tutorial \
   5  ros_base geometry > indigo-desktop-full-wet.rosinstall
   6 wstool init -j8 src indigo-desktop-full-wet.rosinstall
   7 catkin_make_isolated --install

To use the local ROS workspace:

   1 source ~/ros/install_isolated/setup.bash