ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

How to Create Debian Package for ROS 2?

Hi all,

Is there a way to build a private .deb release for ROS 2 project? Like calling $ colcon build but instead of generates a build directories, it generates a .deb package.
I’ve already search and found about bloom, buildfarm, jenkins etc. but i still have no idea on how to use those tools or whether those are the right tools to be used.

thanks

1 Like

have you checked out this answer on ROS answers yet?

even though it’s for ROS 1…I think you should still be able to use the same approach for ROS2 since bloom is used for both.

2 Likes

You could also use cmake and then cpack to generate the .Deb.

https://cmake.org/cmake/help/latest/module/CPack.html

1 Like