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

How to install default packages?

asked 2018-05-01 10:57:10 -0500

JohnBT gravatar image

updated 2018-05-03 03:17:59 -0500

I've installed ROS kinetic with gazebo8 by running :

sudo apt-get ros-kinetic-gazebo8-ros-pkgs

After the installation , I found this command won't install default packages, such as turtlesim,rviz, that kinetic-desktop-full version have.

I need these packages, but I don't know what these packages exactly are, and it's a huge work to install them one by one.

So, is there any way I can install all the default packages?

Thanks in advance.

----update----

It won't work to use:sudo apt-get install ros-kinetic-desktop-full

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-kinetic-desktop-full : Depends: ros-kinetic-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
edit retag flag offensive close merge delete

Comments

I tried running: rosdep install --from-paths src/ --ignore-src there is an error:

    ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install ros-kinetic-hector-gazebo-plugins] failed
JohnBT gravatar image JohnBT  ( 2018-05-01 11:02:04 -0500 )edit

@JohnBT: @PeteBlackerThe3rd is correct, that is how you would install "the rest" of ROS, provided you've followed the regular installation instructions.

rosdep install .. is only ever used if you're building from source, which you are not.

gvdhoorn gravatar image gvdhoorn  ( 2018-05-02 01:39:45 -0500 )edit

@gvdhoorn it seems that some dependencies are not compatible with Gazebo8....

JohnBT gravatar image JohnBT  ( 2018-05-03 03:22:55 -0500 )edit

desktop_full includes simulators which will depend on the default Gazebo version for Kinetic, which is 7.

You have two options:

  1. uninstall Gazebo 8 (and the related pkgs), then install desktop_full and then install Gazebo 8 (which will remove Gazebo 7)
  2. keep what you have ..
gvdhoorn gravatar image gvdhoorn  ( 2018-05-03 04:45:51 -0500 )edit

.. and install what desktop_full would install, but manually.

See REP-142 for what is contained in the metapackages. You could opt to install desktop, perception and urdf_tutorial using apt.

You might run into issues again though, but the ..

gvdhoorn gravatar image gvdhoorn  ( 2018-05-03 04:47:52 -0500 )edit

.. solution would be similar: figure out what is already installed and where that came from. Remove it or install only those parts that don't conflict.

Note also that the tutorial that you probably followed to install Gazebo 8 warned you about this (ie: possible conflicts).

gvdhoorn gravatar image gvdhoorn  ( 2018-05-03 04:48:35 -0500 )edit

I chose to uninstall gazebo8

JohnBT gravatar image JohnBT  ( 2018-05-10 09:53:14 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-05-01 13:39:55 -0500

sudo apt-get install ros-kinetic-desktop-full should do the trick.

edit flag offensive delete link more

Comments

thanks, but this solution seems not to work. I've updated my question.

JohnBT gravatar image JohnBT  ( 2018-05-03 03:19:42 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-05-01 10:57:10 -0500

Seen: 272 times

Last updated: May 03 '18