Skip to content

Commit

Permalink
Doc: recommend system install of rosdep (#954)
Browse files Browse the repository at this point in the history
* Doc: recommend system install of rosdep

The install instructions for rosdep were recommending a pip install,
which is not the recommended way to install rosdep. This change updates
the install instructions to recommend a system install of rosdep.

* Tell user to prioritize the ROS guide if using ROS
  • Loading branch information
SubaruArai authored Aug 10, 2024
1 parent 78a3d2c commit 2214f6a
Showing 1 changed file with 27 additions and 3 deletions.
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::

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


Expand Down

0 comments on commit 2214f6a

Please sign in to comment.