Ask Your Question

How to package ros2 and distribute

asked 2022-04-27 04:05:49 -0500

pfnus gravatar image

updated 2022-04-27 04:10:52 -0500


I have build an overlay project with ros2, now i want to distribute this as an installer. How do i distribute the ros2 binaries? It can't be that i need to ask the user to install ros2 base as binaries as mentioned in the ros2 installation guides?? What files/directories i need to copy?

Secondly, for linux distribution, there is ros2 debian package, now i want to build my own debian package that install my ros2 app which was built over the base ros2, is there a way to download the base ros2 debian package and include that in my debian package? Also in my ros2 overlay, there are some ros2 libraries, which sourced back to the base ros2, how do i distribute my application in this case?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2022-04-27 04:35:08 -0500

ljaniec gravatar image

If this will be a publicly-available Debian package:

This page describes how to prepare a repository for release on the public ROS 2 buildfarm. After you’ve created a package, this is the next step towards getting your package in to the publicly-available Debian packages (i.e., you will be able to install the package via apt).


The other easiest way seems to be dockerization, I think?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2022-04-27 04:05:49 -0500

Seen: 55 times

Last updated: Apr 27