Skip to content

Commit

Permalink
fix unresolved package requirement to install Humble on Ubuntu 20.04 (#…
Browse files Browse the repository at this point in the history
…3086) (#3088)

* fix command to install humble on Ubuntu 20.04

Co-authored-by: paolo.dimasi <paodimasi@outlook.com>
Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit 5626af9)

Co-authored-by: Paolo Dimasi <46300254+Pamasi@users.noreply.github.com>
  • Loading branch information
mergify[bot] and Pamasi authored Oct 13, 2022
1 parent 3d8b551 commit 0390a50
Showing 1 changed file with 37 additions and 9 deletions.
46 changes: 37 additions & 9 deletions source/Installation/Alternatives/Ubuntu-Development-Setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ Add the ROS 2 apt repository
Install development tools and ROS tools
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Install common packages

.. code-block:: bash
sudo apt update && sudo apt install -y \
Expand All @@ -54,24 +56,50 @@ Install development tools and ROS tools
git \
python3-colcon-common-extensions \
python3-flake8 \
python3-flake8-blind-except \
python3-flake8-builtins \
python3-flake8-class-newline \
python3-flake8-comprehensions \
python3-flake8-deprecated \
python3-flake8-docstrings \
python3-flake8-import-order \
python3-flake8-quotes \
python3-pip \
python3-pytest \
python3-pytest-cov \
python3-pytest-repeat \
python3-pytest-rerunfailures \
python3-rosdep \
python3-setuptools \
python3-vcstool \
wget
Install packages according to your Ubuntu version

.. tabs::

.. group-tab:: Ubuntu 22.04 LTS and later

.. code-block:: console
sudo apt install -y \
python3-flake8-blind-except
python3-flake8-builtins
python3-flake8-class-newline
python3-flake8-comprehensions
python3-flake8-deprecated
python3-flake8-import-order
python3-flake8-quotes
python3-pytest-repeat
python3-pytest-rerunfailures
.. group-tab:: Ubuntu 20.04 LTS

.. code-block:: bash
python3 -m pip install -U \
flake8-blind-except \
flake8-builtins \
flake8-class-newline \
flake8-comprehensions \
flake8-deprecated \
flake8-import-order \
flake8-quotes \
pytest-repeat \
pytest-rerunfailures
.. _Rolling_linux-dev-get-ros2-code:

Get ROS 2 code
Expand Down

0 comments on commit 0390a50

Please sign in to comment.