在Fedora Linux上构建ROS 2

如何设置开发版本的环境? [Alyssa@5425]

在Fedora上构建ROS 2需要以下系统依赖项。它们可以用 dnf 进行安装,如下所示 : [Alyssa@5426]

sudo dnf install \
  asio-devel \
  cmake \
  cppcheck \
  eigen3-devel \
  gcc-c++ \
  liblsan \
  libXaw-devel \
  libyaml-devel \
  make \
  opencv-devel \
  patch \
  python3-argcomplete \
  python3-colcon-common-extensions \
  python3-coverage \
  python3-devel \
  python3-empy \
  python3-lark-parser \
  python3-lxml \
  python3-mock \
  python3-mypy \
  python3-nose \
  python3-pip \
  python3-pydocstyle \
  python3-pyflakes \
  python3-pyparsing \
  python3-pytest \
  python3-pytest-cov \
  python3-pytest-mock \
  python3-pytest-runner \
  python3-rosdep \
  python3-setuptools \
  python3-vcstool \
  python3-yaml \
  poco-devel \
  poco-foundation \
  python3-flake8 \
  python3-flake8-import-order \
  redhat-rpm-config \
  tinyxml-devel \
  tinyxml2-devel \
  uncrustify \
  wget

完成此操作后,您可以按照 instructions 的剩余操作下载并编译ROS 2。 [Alyssa@5427]