Discussion on: How to Release your Zig Applications

pjz profile image
Paul Jimenez

IWBN if there were, say, .rpm and .deb build options :) Maybe someday.

lhp profile image
Leon Henrik Plickat • Edited

It should be fairly simple to create a zig library you can use in your build.zig that handles the creation of such packages. AFAIK most big distributions have scripts and tools to automate creation of packages anyway, so you could just shell out to them.

However I don't think it's a sane idea to create packages this way for projects which dynamically link libraries, because [un]fortunately (let's not get into that debate) the same package formats are often used across different distributions, which may call the same library different names in their repos.