Ask Your Question

How to compile ROS2 for another OS

asked 2018-11-20 05:26:08 -0500

I'm writing my master thesis on Computer Engineering about ROS2. I tried ROS2 on my Ubuntu 18 and 16 machines but I would like to insert in my thesis a general guide to compile ros2 for others operative systems (not specific). I would like to know where if could find a guide about "compiling ros2 for others OS".

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-11-20 06:59:17 -0500

hhlp gravatar image

updated 2018-11-20 09:01:19 -0500

@katherinetk, did you check the github project of ros2? -> for instaling from source Linux-Development-Setup also you should check this -> coprs robotics-sig/ros2/

What is COPR???

Copr is an easy-to-use automatic build system providing a package repository as its output.

Search in COPR :

dnf copr search ros2

NOTE : something some angels do the jobs...,but compiling from one distro to other is diference diferent names an diferent packaked manager (debian use apt and red hat use dnf), but you can separate in :

  • Distros based in Debian (like ubuntu)
  • Distros based in readhat (like fedora and centos)

Dependencies in Fedora (for example) : use dnf search [packed name]

  build-essential in fedora is gcc , gcc-c++ and cpp
  cmake             Idem name
  git               Idem name
  python3-colcon-common-extensions ??????
  python3-pip       Idem name
  python-rosdep     Iidem name                 
  python3-vcstool   Idem name
  wget              Idem name
  clang             Iidem name


Note : I think archlinux use another one....

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-11-20 05:26:08 -0500

Seen: 61 times

Last updated: Nov 20 '18