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

Revision history [back]

click to hide/show revision 1
initial version

I'm guessing -- as you didn't tell us -- that you are trying to follow the Installation/Source instructions for Kinetic (but the initial steps are pretty similar for other ROS releases). If so, I think you've misinterpreted the shown commands.

Step 1.1 (Prerequisites - Installing bootstrap dependencies) asks you to run:

$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-ros
install build-essential

Perhaps the layout could be improved, but that is supposed to be a single line, like so:

$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential

Note python-rosinstall, not python-ros.

I'm guessing -- as you didn't tell us -- that you are trying to follow the Installation/Source instructions for Kinetic (but the initial steps are pretty similar for other ROS releases). If so, I think you've misinterpreted the shown commands.

Step 1.1 (Prerequisites - Installing bootstrap dependencies) asks you to run:

$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-ros
install build-essential

Perhaps the layout could be improved, but that is supposed to be a single line, like so:

$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential

Note python-rosinstall, not python-ros.

There is no package python-ros (at least not in ROS), hence the error message you received.

In general: the wiki prefixes commands with either $ or #. This is standard Linux 'terminology': the $ is for commands executed as a normal user, the # for commands executed as root.

This same formatting also gives you a hint where commands begin and end: everything following a $ or # is a single command, even if it is line-wrapped. In your case there is only a single $, so everything following it should be on a single line.

I'm guessing -- as you didn't tell us -- that you are trying to follow the Installation/Source instructions for Kinetic (but the initial steps are pretty similar for other ROS releases). If so, I think you've misinterpreted the shown commands.

Step 1.1 (Prerequisites (Prerequisites - Installing bootstrap dependencies) dependencies) asks you to run:

$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-ros
install build-essential

Perhaps the layout could be improved, but that is supposed to be a single line, like so:

$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential

Note python-rosinstall, not python-ros.

There is no package python-ros (at least not in ROS), hence the error message you received.

In general: the wiki prefixes commands with either $ or #. This is standard Linux 'terminology': the $ is for commands executed as a normal user, the # for commands executed as root.

This same formatting also gives you a hint where commands begin and end: everything following a $ or # is a single command, even if it is line-wrapped. In your case there is only a single $, so everything following it should be on a single line.