• 👍Maximum Derek👍@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    50
    arrow-down
    1
    ·
    1 day ago

    A stab at my personal ranking: .deb > appimage > flatpack > curling a shell script

    I can’t help but love a .deb file (even when not via repo), I’ve almost exclusively used Debian and it derivatives since the late 90s. And snap isn’t on the list because it got stored in a loopback device I removed.

    • someacnt@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      ·
      15 hours ago

      Am I the only one who struggled extensively with .deb file with out-of-date dependencies? It seems the software dev needs to update the .deb file frequently, which they never do.

    • miguel@fedia.io
      link
      fedilink
      arrow-up
      25
      ·
      1 day ago

      I just recently de-snapped yet another ubuntu system. Couldn’t agree more. I use debian standard for all of my stuff, and I agree with your ranking.

      • Damage@feddit.it
        link
        fedilink
        arrow-up
        6
        ·
        23 hours ago

        As someone who hasn’t used Ubuntu since the time they used to mail disks for free, may I ask why? Why not install another distro?

        • cley_faye@lemmy.world
          link
          fedilink
          arrow-up
          9
          ·
          21 hours ago

          Ubuntu support online (I mean, the size of the community) can be useful. And besides the snap and “ubuntu advantage” thing, they’re mostly a more up to date vanilla Debian, which is extremely convenient because, Debian.

          It’s obviously good for people used to Debian, but it’s also great for other, because of the regular updates. But in fairness with your point I’ve been thinking about moving to mint since it’s basically a de-snapped ubuntu.

            • cley_faye@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              16 hours ago

              When I switched to Ubuntu, they just had more up to date packages, and with two releases a year (sort of), stayed up to date with other software, which is a good thing for a system I actually use. From then on, I just stayed on it, because I don’t reinstall my OS until something’s broken. I’ve been moving the same one for a decade now.

              If I had to install a new desktop system I’ll probably go with mint, for the same reason : more frequent software update.

              Note that this is all for desktop (and some specialized systems). Servers are all running debian, because stability is preferable and frequent software change is not what I want in these environments.

            • comfy@lemmy.ml
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              15 hours ago

              Not that user: My biggest problem with Debian was that packages were often so out of date (even sid). This was a big issue for the kinds of software I wanted to run, and also generally denied me useful newer features in most programs. Security and stability weren’t that device’s most important values.

            • miguel@fedia.io
              link
              fedilink
              arrow-up
              2
              ·
              15 hours ago

              I say this to be fair, since I’ve used Debian since almost the very beginning: Debian is a bit more complicated to set up.

              I generally find when people ask me for help, they’re either on Ubuntu or on Fedora (in which case I direct them to someone else for help). Sometimes they’re gamers or using something where Debian + tweaks is ideal, but often I just help them configure Debian, or just help them get their Ubuntu where they want it.

    • gigachad@sh.itjust.works
      link
      fedilink
      arrow-up
      7
      ·
      24 hours ago

      As someone who is confused when he has to deal with a .deb file and always has to google what to do with it - what is the advantage of a .deb over let’s say a shell script?

      • cley_faye@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        21 hours ago

        If made correctly (which is hilariously easy), it’s a clean install and uninstall process, support some level of potential conflict regarding files that are shared with other packages/commands, support dependencies out of the box, and with minimal work can be made easy to update for the user (even automatically updates, depending on the user’s choices) by having an (again, very easy to setup for a dev) repository. With the added value of authenticity checks before updating.

        All this in a standardized way that requires no tinkering, compatibility stuff, etc, because all these checks are built-in.

        Note that some of this probably applies to other system package management solutions, it’s not exclusive to .deb.

      • wolfinthewoods@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        16 hours ago

        It might be different for other distros, but for me on MX Linux, I just click on the .deb and it opens a shell with a root prompt and installs the file automatically. Easy peasy.

      • 👍Maximum Derek👍@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        11
        ·
        edit-2
        23 hours ago

        I never fully trust a shell script and usually end up reading any I have to use first, so I know what they do. And after so many years dpkg holds no mysteries for me and Discover will install .debs if I double click while in KDE.

        • everett@lemmy.ml
          link
          fedilink
          arrow-up
          9
          ·
          23 hours ago

          It’s worth knowing that .deb files can contain setup scripts that get run as root when installed, so you should trust them too.

          • 👍Maximum Derek👍@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            6
            ·
            edit-2
            11 hours ago

            Yeah. They all come with risks, but I psychologically struggle to run shell scripts unless I know what’s in them. And the same brain dysfunction makes my automatically distrust a script that doesn’t set pipefail.

            • everett@lemmy.ml
              link
              fedilink
              arrow-up
              4
              ·
              22 hours ago

              That definitely makes sense. Also, the scripts in a .deb should be incredibly short and readable, if you choose to check them out.

      • Monstrosity@lemm.ee
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        22 hours ago

        dpkg -i <nameofpackage.deb>

        Which can be read as: (Debpackage) -install <nameofpackage.deb>

        That’s it!

        Also, if you haven’t already, install tldr (apt install tldr), then you can ‘tldr deb’ (or any other command) to get a few examples of their most used functions.