ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to get new stack/package installed into your Ubuntu?

asked 2012-08-27 22:35:45 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am a new learner of ROS. On my project, I need a new stack which is not installed by default, so I have tried the command "rosdep" while it dose not work, here is some results: wbin@wbin:~$ rosdep install pr2_cockpit

ERROR: Rosdep cannot find all required resources to answer your query
Missing resource pr2_cockpit
ROS path [0]=/opt/ros/fuerte/share/ros
ROS path [1]=/home/wbin/fuerte_workspace/sandbox
ROS path [2]=/opt/ros/fuerte/stacks
ROS path [3]=/opt/ros/fuerte/share
ROS path [4]=/opt/ros/fuerte/share/ros

Is any way to get new stacks/packages?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-08-27 23:17:03 -0600

Lorenz gravatar image

To install a stack from source, it is recommended to use the tool rosws.

First you need to create an overlay. Have a look at this wiki page for information on how to do that. Then you can easily check add stacks from source using roslocate in combination with rosws merge or rosws --set as shown on the above wiki page. Given your overlay is set up correctly, you can check out pr2_cockpit as follows:

roslocate info pr2_cockpit | rosws merge -
rosws update
edit flag offensive delete link more


Thanks for the information Lorenz. I have used this method as well but somehow I felt the method I suggested more convenient and simple. Sure, I would try to make it a habit to use this new method hereafter. :)

SivamPillai gravatar image SivamPillai  ( 2012-08-27 23:24:38 -0600 )edit

why need sandbox ?!

Amal gravatar image Amal  ( 2012-11-28 05:39:19 -0600 )edit

answered 2012-08-27 22:46:47 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.


Installing new stacks available in is a very simple task which you can do using the svn command on the page of the sstack you are looking for.

You may search for the particluar stack that you require from the homepage of Here's the link of the stack you were looking for:


In the homepage of the stack they have provided the svn link for their stack. You can simply open a terminal and enter the following command:

svn co /< link of the svn >

For your particular case it would be:

svn co

You may sometimes require to be a super user so you may use 'sudo' if it did not work without the additional rights.

Remember after this process the entire stack will be downloaded into the current directory of the terminal. You may before hand change the directory of the terminal to the stacks directory of ros or any location that is in $ROS_PACKAGE_PATH.

You can also download the tool rapid_svn which is available in the software centre and is a comfortable gui for download of repositories and svn checkouts.

Hope that helps.

Good luck,


edit flag offensive delete link more


It is not recommended to manually manage the ROS_PACKAGE_PATH but to use rosws. Also, only rosdep should require sudo, nothing else.

Lorenz gravatar image Lorenz  ( 2012-08-27 23:11:02 -0600 )edit

I agree and also would like to add that using git command also works.

aimc gravatar image aimc  ( 2013-03-29 18:39:19 -0600 )edit

Question Tools

1 follower


Asked: 2012-08-27 22:35:45 -0600

Seen: 1,970 times

Last updated: Mar 29 '13