this post was submitted on 02 Nov 2023
27 points (96.6% liked)

Linux

47820 readers
1367 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 11 months ago (2 children)

I appreciate universal package formats, but I'm looking for solutions that generate native packages.

[–] [email protected] 6 points 11 months ago

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.

[–] [email protected] 1 points 11 months ago

Nix is the native NixOS format!