How to create a .deb from binaries only?

How can I create a deb from binaries?

  • I have a few binary files: foo, bar.so, and foo.lnk. I want to make a deb that will extract foo to /usr/share/foo/foo, bar to that same directory, and foo.lnk to /usr/share/applications. I dont want to include any source and there are a few dependencies that I need to make sure are installed. I've found some resources such as http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.html and https://wiki.debian.org/IntroDebianPackaging . The problem is that they are guides meant to include the source. Furthermore, I really dont understand how I specify where to extract certain files to.

  • Answer:

    I found a relativly simple way to do it, all thats missing from that are how to run the pre-install and post-install scripts. (And if theres a way to add an uninstall script). http://ubuntuforums.org/showthread.php?t=910717

chacham15 at Ask Ubuntu Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.