ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

How to generate binary .deb file of a ROS package locally without ROS buldfarm

asked 2016-06-01 22:18:19 -0600

Rickardo Leos gravatar image

updated 2016-06-01 22:19:21 -0600

Hi there,

During our work, we need some binary .deb package of some ROS packages. I only need a local manner to generate a ".deb" file to obfuscate my source code and thereby, the other can use the package without seeing the source code.

I have been digging around the ROS release process and ros buldfarm. But things are not really clear to us yet. Would you please suggestion me how to do, or how would you advise us to do in order to generate such installers package?

Your suggestion and help to solve this is pretty appreciated.

Best,

Rickardo

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-02 02:24:15 -0600

gvdhoorn gravatar image

This has been asked before. See if Build Debian Package Locally? answers your question.

edit flag offensive delete link more

Comments

Thanks, what I mean is to build my own package locally without a repository

Rickardo Leos gravatar image Rickardo Leos  ( 2016-06-02 04:00:10 -0600 )edit

Without using Bloom, I think the level of automation is going to be limited. You could perhaps use a local release repository (a git repo on your local machine, with a file://.. url). Then GPB. Or maybe checkinstall is an option. Or even just copy the files from the install location.

gvdhoorn gravatar image gvdhoorn  ( 2016-06-02 04:18:32 -0600 )edit

Depending on what your package does/needs, you could see whether building with regular CMake works (mkdir build; cd build; cmake .. etc). If it does, checkinstall should be able to create a debian for you. Or maybe fpm, or CMake's own package generation infrastructure.

gvdhoorn gravatar image gvdhoorn  ( 2016-06-02 04:24:11 -0600 )edit

Many thanks, gvdhoorn . I have tried cheinstall, but failed. Could you please show me the detail for this process. Cheers. What I need is to create a binary deb of my own package and share it to the others without the source code for some reason.

Rickardo Leos gravatar image Rickardo Leos  ( 2016-06-02 04:54:51 -0600 )edit

"but failed" is a bit vague. If you could update your question with what you tried, and any error messages that produced we might be able to help you.

gvdhoorn gravatar image gvdhoorn  ( 2016-06-02 05:16:08 -0600 )edit

Same question here! I had problems using checkinstall. I was installing my packages in a custom directory and trying to pack it. But after the checkinstall command and compilation the deb file is empty. Do you know what could be happen?

GL gravatar image GL  ( 2023-01-17 08:57:31 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2016-06-01 22:18:19 -0600

Seen: 1,048 times

Last updated: Jun 02 '16