What solutions out there can package software in the native package format? I only found fpm (effing package management) and OBS (Open Build Service) so far.
Edit history:
- 2023-11-02: Change title from “How to package software for many distributions?” to “How to package software for many distributions in their native package format?”
- 2023-11-02: Highlight the word native.
I believe Pkgsrc compiles the program at install, so it’s native. But it’s been a long time since I used it, you might need to look into it.
And you’ll have a hard time finding a “native” package format, because distros have different libraries versions: arch libraries will be much more updated than Debian’s, so things might break trying to execute programs depending on those libraries. That’s why Flatpak, AppImages, Nix, etc bring their own libraries, because if they don’t, things will break.
They are native in the sense that they are Linux executables, but it’s true that they bring their own dependencies, but as I said, that’s necessary for cross distro support.