Skip to content

Commit eb0ef11

Browse files
clalancettecottsay
andauthored
Update instructions for RHEL-9. (ros2#3398)
* Update instructions for RHEL-9. Signed-off-by: Chris Lalancette <[email protected]> Co-authored-by: Scott K Logan <[email protected]>
1 parent 0ab7b4c commit eb0ef11

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed

source/Installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ We provide ROS 2 binary packages for the following platforms:
3232
* :doc:`Debian packages <Installation/Ubuntu-Install-Debians>` (recommended)
3333
* :doc:`"fat" archive <Installation/Alternatives/Ubuntu-Install-Binary>`
3434

35-
* RHEL 8
35+
* RHEL 9
3636

3737
* :doc:`RPM packages <Installation/RHEL-Install-RPMs>` (recommended)
3838
* :doc:`"fat" archive <Installation/Alternatives/RHEL-Install-Binary>`

source/Installation/Alternatives/RHEL-Development-Setup.rst

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ System requirements
1616
-------------------
1717
The current target Red Hat platforms for {DISTRO_TITLE_FULL} are:
1818

19-
- Tier 2: RHEL 8 64-bit
19+
- Tier 2: RHEL 9 64-bit
2020

2121
As defined in `REP 2000 <https://www.ros.org/reps/rep-2000.html>`_
2222

@@ -37,7 +37,7 @@ They can be enabled by running:
3737
.. code-block:: bash
3838
3939
sudo dnf install 'dnf-command(config-manager)' epel-release -y
40-
sudo dnf config-manager --set-enabled powertools
40+
sudo dnf config-manager --set-enabled crb
4141
4242
.. note:: This step may be slightly different depending on the distribution you are using. Check the EPEL documentation: https://docs.fedoraproject.org/en-US/epel/#_quickstart
4343

@@ -54,27 +54,28 @@ Install development tools and ROS tools
5454
make \
5555
patch \
5656
python3-colcon-common-extensions \
57+
python3-flake8-builtins \
58+
python3-flake8-comprehensions \
59+
python3-flake8-docstrings \
60+
python3-flake8-import-order \
61+
python3-flake8-quotes \
62+
python3-mypy \
5763
python3-pip \
5864
python3-pydocstyle \
5965
python3-pytest \
6066
python3-pytest-repeat \
6167
python3-pytest-rerunfailures \
6268
python3-rosdep \
6369
python3-setuptools \
64-
python3-vcstool
70+
python3-vcstool \
71+
wget
6572
6673
# install some pip packages needed for testing and
6774
# not available as RPMs
6875
python3 -m pip install -U --user \
6976
flake8-blind-except==0.1.1 \
70-
flake8-builtins \
7177
flake8-class-newline \
72-
flake8-comprehensions \
73-
flake8-deprecated \
74-
flake8-docstrings \
75-
flake8-import-order \
76-
flake8-quotes \
77-
mypy==0.931
78+
flake8-deprecated
7879
7980
.. _Rolling_rhel-dev-get-ros2-code:
8081

@@ -100,7 +101,7 @@ Install dependencies using rosdep
100101
101102
sudo rosdep init
102103
rosdep update
103-
rosdep install --from-paths src --ignore-src -y --skip-keys "asio cyclonedds fastcdr fastrtps ignition-cmake2 ignition-math6 python3-babeltrace python3-mypy rti-connext-dds-6.0.1 urdfdom_headers"
104+
rosdep install --from-paths src --ignore-src -y --skip-keys "assimp fastcdr ignition-cmake2 ignition-math6 python3-matplotlib python3-pygraphviz rti-connext-dds-6.0.1 urdfdom_headers"
104105
105106
Install additional DDS implementations (optional)
106107
-------------------------------------------------
@@ -120,7 +121,7 @@ More info on working with a ROS workspace can be found in :doc:`this tutorial <.
120121
.. code-block:: bash
121122
122123
cd ~/ros2_{DISTRO}/
123-
colcon build --symlink-install --cmake-args -DTHIRDPARTY_Asio=ON --no-warn-unused-cli
124+
colcon build --symlink-install
124125
125126
Note: if you are having trouble compiling all examples and this is preventing you from completing a successful build, you can use ``COLCON_IGNORE`` in the same manner as `CATKIN_IGNORE <https://github.com/ros-infrastructure/rep/blob/master/rep-0128.rst>`__ to ignore the subtree or remove the folder from the workspace.
126127
Take for instance: you would like to avoid installing the large OpenCV library.

source/Installation/Alternatives/RHEL-Install-Binary.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ There are also :doc:`RPM packages <../RHEL-Install-RPMs>` available.
1818
System Requirements
1919
-------------------
2020

21-
We currently support RHEL 8 64-bit.
21+
We currently support RHEL 9 64-bit.
2222
The Rolling Ridley distribution will change target platforms from time to time as new platforms are selected for development.
2323
Most people will want to use a stable ROS distribution.
2424

@@ -31,7 +31,7 @@ They can be enabled by running:
3131
.. code-block:: bash
3232
3333
sudo dnf install 'dnf-command(config-manager)' epel-release -y
34-
sudo dnf config-manager --set-enabled powertools
34+
sudo dnf config-manager --set-enabled crb
3535
3636
.. note:: This step may be slightly different depending on the distribution you are using. Check the EPEL documentation: https://docs.fedoraproject.org/en-US/epel/#_quickstart
3737

@@ -82,7 +82,7 @@ Set your rosdistro according to the release you downloaded.
8282

8383
.. code-block:: bash
8484
85-
rosdep install --from-paths ~/ros2_{DISTRO}/ros2-linux/share --ignore-src -y --skip-keys "asio cyclonedds fastcdr fastrtps ignition-cmake2 ignition-math6 python3-babeltrace python3-mypy rti-connext-dds-6.0.1 urdfdom_headers"
85+
rosdep install --from-paths ~/ros2_{DISTRO}/ros2-linux/share --ignore-src -y --skip-keys "assimp cyclonedds fastcdr fastrtps ignition-cmake2 ignition-math6 python3-matplotlib python3-pygraphviz rti-connext-dds-6.0.1 urdfdom_headers"
8686
8787
Install additional DDS implementations (optional)
8888
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

source/Installation/RHEL-Install-RPMs.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RHEL (RPM)
55
:depth: 2
66
:local:
77

8-
RPM packages for ROS 2 {DISTRO_TITLE_FULL} are currently available for RHEL 8.
8+
RPM packages for ROS 2 {DISTRO_TITLE_FULL} are currently available for RHEL 9.
99
The Rolling Ridley distribution will change target platforms from time to time as new platforms are selected for development.
1010
The target platforms are defined in `REP 2000 <https://github.com/ros-infrastructure/rep/blob/master/rep-2000.rst>`__
1111
Most people will want to use a stable ROS distribution.
@@ -15,7 +15,7 @@ Resources
1515

1616
* Status Page:
1717

18-
* ROS 2 {DISTRO_TITLE} (RHEL 8): `amd64 <http://repo.ros2.org/status_page/ros_{DISTRO}_rhel.html>`__
18+
* ROS 2 {DISTRO_TITLE} (RHEL 9): `amd64 <http://repo.ros2.org/status_page/ros_{DISTRO}_rhel.html>`__
1919
* `Jenkins Instance <http://build.ros2.org/>`__
2020
* `Repositories <http://repo.ros2.org>`__
2121

@@ -35,7 +35,7 @@ You will need to enable the EPEL repositories and the PowerTools repository:
3535
.. code-block:: bash
3636
3737
sudo dnf install 'dnf-command(config-manager)' epel-release -y
38-
sudo dnf config-manager --set-enabled powertools
38+
sudo dnf config-manager --set-enabled crb
3939
4040
.. note:: This step may be slightly different depending on the distribution you are using. Check the EPEL documentation: https://docs.fedoraproject.org/en-US/epel/#_quickstart
4141

0 commit comments

Comments
 (0)