Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: recommend system install of rosdep #954

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 27 additions & 3 deletions doc/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,36 @@ Overview
Installing rosdep
-----------------

rosdep2 is available using pip or easy_install::
.. admonition:: Note

sudo pip install -U rosdep
If you want to use rosdep with ROS1/2, you should install rosdep
following their installation instructions:

* `ROS1 installation instructions
<http://wiki.ros.org/ROS/Installation>`_
* `ROS2 installation instructions
<http://docs.ros.org/en/iron/Installation.html>`_
[#rosdep_in_dev_tools]_

.. [#rosdep_in_dev_tools] In ROS2 Foxy and beyond, rosdep is included in the ros-dev-tools package.

It is recommended to use the system package manager to install rosdep.

or::
rosdep2 is a system package under Ubuntu and Debian::

# Ubuntu >= 20.04 (Focal)
sudo apt-get install python3-rosdep
# Debian >=11 (Bullseye)
sudo apt-get install python3-rosdep2

If rosdep doesn't exist in your package manager, you can install it
using pip or easy_install::
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably also worth dropping the reference to easy_install as it is no longer tested or used in our CI stack to the best of my knowledge.


# Python 2
sudo pip install -U rosdep
# Python 3
sudo pip3 install -U rosdep
# easy_install
sudo easy_install -U rosdep rospkg


Expand Down