Fedora(来源)
如何设置开发环境?
在 Fedora 上构建 ROS 2 需要以下系统依赖项。可以使用“dnf”安装它们,如下所示:
sudo dnf install \
cmake \
cppcheck \
eigen3-devel \
gcc-c++ \
liblsan \
libXaw-devel \
libyaml-devel \
make \
opencv-devel \
patch \
python3-colcon-common-extensions \
python3-coverage \
python3-devel \
python3-empy \
python3-nose \
python3-pip \
python3-pydocstyle \
python3-pyparsing \
python3-pytest \
python3-pytest-cov \
python3-pytest-mock \
python3-pytest-runner \
python3-rosdep \
python3-setuptools \
python3-vcstool \
poco-devel \
poco-foundation \
python3-flake8 \
python3-flake8-import-order \
redhat-rpm-config \
uncrustify \
wget
完成此操作后,您可以按照 instructions 获取并构建 ROS 2。