How can I create a simple debian package from binary?

12,468

Solution 1

We tried to write the easiest steps here in this blog post.

https://web.archive.org/web/20141210051522/http://developer.ubuntu.com/2012/02/how-to-prepare-a-compiled-application-for-ubuntu-software-center/

Solution 2

I think equivs is the easiest. You can install with:

sudo apt-get install equivs

With equivs-control command you can create a blank spec file and build your deb package with equivs-build command.

Share:
12,468

Related videos on Youtube

Razick
Author by

Razick

I work in the financial industry in Austin, Texas and work with web development as a hobby. I have developed with PHP and MySQL in the past but am currently learning ASP.NET Core with Blazor Web Assembly (C#).

Updated on September 18, 2022

Comments

  • Razick
    Razick over 1 year

    I have been researching debian packaging, but I can't seem to figure out how to package a C# mono application made up of a single executable and a few resource files.

    Can anyone help me figure out? All the guides seem to target source packaging.

    Also, if there is anything specific to packaging mono apps please let me know, thanks.

  • Razick
    Razick over 11 years
    I already read that, and it seemed pretty good, however, dh_make didn't work, I got a long error message that suggested I go to the directory where the sources are.
  • Razick
    Razick over 11 years
    Oh, never mind, I missed part of it, the directory name was in the wrong format.
  • Videonauth
    Videonauth over 6 years
    While this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.