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.
  • sir_reginald@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    no, not at all.

    electron is a framework, and a shitty one if I might say so, it’s cross platform but it’s not a way to package for multiple distros. You still need to package the electron program in either the native package manager (apt, pacman, etc) or a distro-agnostic one (flatpak, appimage, snap).

      • sir_reginald@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        but it is not an option. It’s not a tool for packaging programs.

        Building an electron program is no different than building it in GTK or QT in the sense that they are just the GUI toolkit and they do not do packaging.

        It’s a framework for programs to have their GUI wrapped inside a browser, so they are cross platform.

        But electron doesn’t create packages. You can package an electron program using Flatpak, snap, apt, AppImage, pacman, or whatever.