Installation instruction to install ROS on Debian.

Motivation

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

Compile the rest of desktop-full

Installing the needed packages:

   1 sudo apt-get update
   2 sudo 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 echo "source ~/ros/install_isolated/setup.bash" >> ~/.bashrc
   2 source ~/ros/install_isolated/setup.bash