• TheDemonBuer@lemmy.world
    link
    fedilink
    arrow-up
    150
    ·
    5 months ago

    Flatpaks aren’t perfect, but I think it’s a good solution to the fragmentation problem that is inherent to Linux.

    • henfredemars@infosec.pub
      link
      fedilink
      English
      arrow-up
      90
      ·
      edit-2
      5 months ago

      Precisely. Flatpaks solve an important problem. Perfect should not be the enemy of good.

      Binary compatibility is a sad story on Linux, and we cannot expect developers — many of whom work for free — to package, test, debug, and maintain releases for multiple distributions. If we want a sustainable ecosystem with diverse distributions, we must answer the compatibility question. This is a working option that solves the problem, and it comes with minor security benefits because it isolates applications not just from the system but from each other.

      It’s fair to criticize a solution, but I think it’s not fair to ignore the problem and expect volunteers to just work harder.

      • nexussapphire@lemm.ee
        link
        fedilink
        English
        arrow-up
        37
        ·
        5 months ago

        Also companies are lazy and if we don’t want to be stuck on Ubuntu for proprietary app stability. We should probably embrace something like flatpak. Also when companies neglect their apps, it’ll have a better chance of working down the road thanks to support for multiple dependency versions on the same install.

        • henfredemars@infosec.pub
          link
          fedilink
          English
          arrow-up
          9
          ·
          5 months ago

          Great point! At the end of the day, the apps I want to use will decide which distro I main. Many FOSS fanatics are quick to critique Ubuntu, So they should support solutions that allow our distro to be diverse and use all the killer apps.

    • nexussapphire@lemm.ee
      link
      fedilink
      English
      arrow-up
      7
      ·
      5 months ago

      I like the aur too but a proprietary app that isn’t updated to support newer dependencies, it most likely won’t run anyway. At that point it’s either broken app, broken system, or you don’t have anything else installed using that library(yet).

        • nexussapphire@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          Sounds neat! Don’t really care much for messing with config files for hours. This is from someone who uses arch on all his systems. I’ve been in config hell for a while, I use kde now.

    • ian@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      Not great to laugh at the mess Linux is in, due to people paddling in different, incompatible, directions. Users can’t choose the package format. They have to take what they are given. Good or bad. I don’t care which format. As long as it works. But this is a good way to scare more people off of Linux.

      • oo1@lemmings.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        laughs at people scared of choice and “mess” . . .

        If they’re switcing to linux they should first come to know about open source forking around - arguably - one of the most important features of the whole thing.

        If they don’t wan’t that choice and all that inevitable open source forkery, they probably should go for an apple mac or windows or something like that. And maybe they will have to pay for some software for the privilege because it takes work to do those things. They can of course try plain old ubuntu and do stuff the way canonical wants, that removes quite a bit of choice if it is otherwise too terrifying for them.

        But in general, I don’t think its a good idea to to try to sell pig-carcasses to vegans by painting them the colours of broccoli.

    • Norgur@fedia.io
      link
      fedilink
      arrow-up
      30
      ·
      5 months ago

      glibc 2.36 is all you’ll ever need, okay? Go away with those goddamn backports!

  • macniel@feddit.org
    link
    fedilink
    arrow-up
    51
    ·
    5 months ago

    Flatpak is nice but I really would like to see a way to run flatpakked application transparently e.g. don’t have to

        flatpak run org.gnome.Lollypop
    

    and can just run the app via

        Lollypop
    
    • grue@lemmy.world
      link
      fedilink
      English
      arrow-up
      45
      ·
      5 months ago

      You could make aliases for each program, but I agree, there should be a way to set it up so they resolve automatically.

      • mutter9355@discuss.tchncs.de
        link
        fedilink
        arrow-up
        4
        ·
        5 months ago

        You could possibly also make a shell script that does this automatically. I believe most flatpak ids follow a pattern such as com.github.user.package, for github projects for example. So you could loop through all installed flatpaks, extract the name, and then add the alias.

        • grue@lemmy.world
          link
          fedilink
          English
          arrow-up
          9
          ·
          5 months ago

          Agreed, but I also feel like such a thing should be included with Flatpak by default instead of leaving it to the users to solve.

    • d_k_bo@feddit.org
      link
      fedilink
      arrow-up
      22
      ·
      5 months ago

      You can symlink /var/lib/flatpak/exports/bin/org.gnome.Lollypop (if you are using a system installation) or ~/.local/share/flatpak/exports/bin/org.gnome.Lollypop (if you are using a uset installation) to ~/.local/bin/lollypop and run it as lollypop.

    • Ananace@lemmy.ananace.dev
      link
      fedilink
      arrow-up
      19
      ·
      edit-2
      5 months ago

      Well, Flatpak installs aliases, so as long as your distribution - or yourself - add the <installation>/exports/bin path to $PATH, then you’ll be able to use the application IDs to launch them.

      And if you want to have the Flatpak available under a different name than its ID, you can always symlink the exported bin to whatever name you’d personally prefer.
      I’ve got Blender set up that way myself, with the org.blender.Blender bin symlinked to /usr/local/bin/blender, so that some older applications that expect to be able to simply interop with it are able to.

        • Ananace@lemmy.ananace.dev
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          5 months ago

          Well, Flatpak always builds the aliases, so as long as the <installation>/exports/bin folder is in $PATH there’s no need to symlink.

          If you’re talking specifically about having symlinks with some arbitrary name that you prefer, then that’s something you’ll have to do yourself, the Flatpak applications only provide their canonical name after all.
          You could probably do something like that with inotify and a simple script though, just point it at the exports/bin folders for the installations that you care about, and set up your own mapping between canonical names and whatever names you prefer.

    • Qkall@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      5 months ago

      I just run them raw, like just

      org.gnome.Lollypop

      Not ideal, but it’s what I do

  • BeigeAgenda@lemmy.ca
    link
    fedilink
    arrow-up
    44
    ·
    5 months ago

    If I can choose between flatpack and distro package, distro wins hands down.

    If the choice then is flatpack vs compile your own, I think I’ll generally compile it, but it depends on the circumstances.

      • BeigeAgenda@lemmy.ca
        link
        fedilink
        arrow-up
        17
        ·
        5 months ago

        Because it’s easier to use the version that’s in the distro, and why do I need an extra set of libraries filling up my disk.

        I see flatpack as a last resort, where I trade disk space for convenience, because you end up with a whole OS worth of flatpack dependencies (10+ GB) on your disk after a few upgrade cycles.

        • F04118F@feddit.nl
          link
          fedilink
          arrow-up
          13
          ·
          5 months ago

          Is compiling it yourself with the time and effort that it costs worth more than a few GB of disk space?

          Then your disk is very expensive and your labor very cheap.

          • cley_faye@lemmy.world
            link
            fedilink
            arrow-up
            12
            ·
            5 months ago

            For a lot of project “compiling yourself”, while obviously more involved than running some magic install command, is really not that tedious. Good projects have decent documentation in that regard and usually streamline everything down to a few things to configure and be done with it.

            What’s aggravating is projects that explicitly go out of their way to make building them difficult, removing existing documentation and helper tools and replacing them with “use whatever we decided to use”. I hate these.

          • BeigeAgenda@lemmy.ca
            link
            fedilink
            arrow-up
            8
            ·
            5 months ago

            I should have noted that I’ll compile myself when we are talking about something that should run as a service on a server.

          • ReveredOxygen@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            5
            ·
            edit-2
            5 months ago

            They didn’t say anything about compiling it themselves, just that they prefer native packages to flatpak

            edit: I can’t read

            • Batbro@sh.itjust.works
              link
              fedilink
              arrow-up
              9
              ·
              5 months ago

              2 comments up they said

              If the choice then is flatpack vs compile your own, I think I’ll generally compile it, but it depends on the circumstances.

          • recarsion@discuss.tchncs.de
            link
            fedilink
            arrow-up
            3
            ·
            5 months ago

            99% of the time it’s just “make && sudo make install” or something like that. Anything bigger or more complicated typically has a native package anyway.

        • TimeSquirrel@kbin.melroy.org
          link
          fedilink
          arrow-up
          8
          ·
          edit-2
          5 months ago

          I mean it’s 2024. I regularly download archives that are several tens or even over 100 GB and then completely forget they’re sitting on my drive, because I don’t notice it when the drive is 4TB. Last time I cared about 10GB here and there was in the late-2000s.

          • azenyr@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            5 months ago

            I don’t know what dependencies he has but my 3 year old system that is constantly being updated is full of flatpaks and all of the dependencies combined are only around 3GB. People see 1GB of dependencies and lose their mind.

          • BeigeAgenda@lemmy.ca
            link
            fedilink
            arrow-up
            3
            ·
            5 months ago

            Yep that’s all well and good, but what flatpack doesn’t do automatically is clean up unused libs/dependencies, over time you end up with several versions of the same libs. When the apps are upgraded they get the latest version of their dependency and leave the old behind.

    • azenyr@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      I change my opinion depending on which app it is. I use KDE, so any KDE app will be installed natively for sure for perfect integration. Stuff like grub costumizer etc all native. Steam, Lutris, GIMP, Discord, chrome, firefox, telegram? Flatpak, all of those. They don’t need perfect integration and I prefer the stability, easy upgrades and ease of uninstall of flatpak. Native is used when OS integration is a must. Flatpak for everything else. Especially since sometimes the distro’s package is months/years old… prefering distro packages for everything should be a thing of the past.

  • e8d79@discuss.tchncs.de
    link
    fedilink
    arrow-up
    42
    ·
    5 months ago

    Haters aren’t worth listening to. Doesn’t matter if it is flatpak, systemd, wayland, or whatever else. These people have no interest in a discussion about merits and drawbacks of a given solution. They just want to be angry about something.

    • renzev@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      13
      ·
      5 months ago

      I know, right!? Add gimp to that list as well. I can go on and on about shortcomings of gimp despite being a happy user. The average gimp hater, on the other hand, doesn’t have anything to say besides “the UI is dumb and I can’t figure out how to draw a circle”

            • uis@lemm.ee
              link
              fedilink
              arrow-up
              7
              ·
              5 months ago

              They call it “intuitive UI”, Linus calls it “‘users are idiots, and are confused by functionality’ mentality of Gnome”

              • Feathercrown@lemmy.world
                link
                fedilink
                English
                arrow-up
                6
                ·
                5 months ago

                What I mean is, makingg a UI more intuitive does not necessarily make it more… Gnome-ey? It can still be effective, customizable, etc.

                • uis@lemm.ee
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  5 months ago

                  “Intuitive UI” crowd usually means Gnome-ey/Apple-ey design.

                  In reality customizable design is more intuitive, because you can customize it to your intuition.

              • raspberriesareyummy@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                5 months ago

                kate editor would like to have a word… They did my lady kate dirty with the latest updates :( The top level File menu was so much better and now I don’t know where to find the configuration to get that back, and have on my work computer a stupid single button in the top right corner which opens the “menu bar”, except vertically…

    • someacnt_@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      5 months ago

      Wayland gets the hate because compositors are authoritative so you cannot e.g. install your own window manager, taskbar, etc. It would be good if there were specifications governing these, but there isn’t.

  • NaibofTabr@infosec.pub
    link
    fedilink
    English
    arrow-up
    41
    ·
    5 months ago

    If you’re separating your application from the core system package manager and shared libraries, there had better be a good and specific reason for it (e.g. the app needs to be containerized for stability/security/weird dependency). If an app can’t be centrally managed I don’t want it on my system, with grudging exceptions.

    Chocolatey has even made this possible in Windows, and lately for my Windows environments if I can’t install an application through chocolatey then I’ll try to find an alternative that I can. Package managers are absolutely superior to independent application installs.

    • AnyOldName3@lemmy.world
      link
      fedilink
      arrow-up
      54
      ·
      5 months ago

      Typically Windows applications bundle all their dependencies, so Chocolatey, WinGet and Scoop are all more like installing a Flatpak or AppImage than a package from a distro’s system package manager. They’re all listed in one place, yes, but so’s everything on FlatHub.

      • NaibofTabr@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        This is true, the only shared libraries are usually the .NET versions, but so many apps depend on specific .NET versions that frequently the modularity doesn’t matter.

        • laurelraven@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          3
          ·
          5 months ago

          No, because they’re not apt packages. You can, however, flatpak update them, and you don’t even need sudo since they’re installed in the user context rather than system.

    • Pennomi@lemmy.world
      link
      fedilink
      English
      arrow-up
      25
      ·
      5 months ago

      I think containerization for security is a damn good reason for virtually all software.

      • gaylord_fartmaster@lemmy.world
        link
        fedilink
        arrow-up
        21
        ·
        5 months ago

        Definitely. I’d rather have a “good and specific reason” why your application needs to use my shared libraries or have acess to my entire filesystem by default.

        • cadekat@pawb.social
          link
          fedilink
          arrow-up
          4
          ·
          5 months ago

          Using your shared libraries is always a good thing, no? Like your distro’s packages should always have the latest security fixes and such, while flatpaks require a separate upgrade path.

          Access to your entire filesystem, however, I agree with you on.

          • gaylord_fartmaster@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            5 months ago

            I only use rolling releases on my desktop and have ran into enough issues with apps not working because of changes made in library updates that I’d rather they just include whatever version they’re targeting at this point. Sure, that might mean they’re using a less secure version, and they’re less incentivized to stay on the latest version and fix those issues as they arise, but I’m also not as concerned about the security implications of that because everything is running as my unprivileged user and confined to the flatpak.

            I’d rather have a less secure flatpak then need to downgrade a library to make one app I need work and then have a less secure system overall.

    • Kusimulkku@lemm.ee
      link
      fedilink
      arrow-up
      15
      ·
      5 months ago

      I think stability is a pretty good reason

      If an app can’t be centrally managed

      Open Discover, Gnome Software etc -> Click update?

        • Kusimulkku@lemm.ee
          link
          fedilink
          arrow-up
          5
          ·
          5 months ago

          I’m now confused if they’re saying that flatpak is centrally managed or not. To me it seems centrally managed, both the flatpak ecosystem but your whole machine (repo packages, firmware, flatpak) if you use those app stores. I might’ve misunderstood what they said.

      • NaibofTabr@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        Oh no, no GUI nonsense. Single, simple shell command update for the whole system so that it can be properly remotely managed, please. Something equivalent to sudo apt upgrade

        • Kusimulkku@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          I’ve written a small script that does all the updates (repo, flatpak, docker), verified the packages, does cleanup and shows if stuff needs rebooted. Handy. That way I can do everything from one short command

    • jj4211@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      5 months ago

      Flatpack can be centrally managed, it’s just like a parallel distribution scheme, where apps have dependencies and are centrally updated. If a flatpack is made reasonably, then it gets library updates independent of the app developer doing it.

      “App image” and " install from tarball" violate those principles, but not snap or flatpack.

      • NaibofTabr@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        5 months ago

        Um, if it’s “parallel” (e.g. separate from the OS package manager) then it’s not centrally managed. The OS package manager is the central management.

        There might be specific use cases where this makes sense, but frankly if segregating an app from the OS is a requirement then it should be fully containerized with something like Docker, or run in an independent VM.

        If a flatpack is made reasonably, then it gets library updates independent of the app developer doing it.

        That feels like a load-bearing “if”. I never have to worry about this with the package manager.

        • jj4211@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          5 months ago

          Define “the OS package manager”. If the distro comes with flatpack and dnf equally, and both are invoked by the generic “get updates” tooling, then both could count as “the” update manager. They both check all apps for updates.

          Odd to advocate for docker containers, they always have the app provider also on the hook for all dependencies because they always are inherently bundled. If a library has a critical bug fix, then your docker like containers will be stuck without the fix until the app provider gets around to fixing it, and app providers are highly unreliable on docker hub. Besides, update discipline among docker/podman users is generally atrocious, and given the relatively tedious nature of following updates with that ecosystem, I am not surprised. Even best case, docker style uses more disk space and more memory than any other option, apart from VM.

          With respect to never having to worry about bundled dependencies with rpm/deb, third party packages bundle or statically link all the time. If they don’t, then they sometimes overwrite the OS provided dependency with an incompatible one that breaks OS packages, if the dependency is obscure enough for them not to notice other usage.

  • umbraroze@lemmy.world
    link
    fedilink
    arrow-up
    35
    ·
    5 months ago

    I’m a Debian fan, and even I think it’s absolutely preferable that app developers publish a Flatpak over the mildly janky mess of adding a new APT source. (It used to be simple and beautiful, just stick a new file in APT sources. Now Debian insists we add the GPG keys manually. Like cavemen.)

    • jabjoe@feddit.uk
      link
      fedilink
      English
      arrow-up
      9
      ·
      5 months ago

      Someone got to say it…

      There is no Debian if everything was a pile of Snaps/Flatpack/Docker/etc. Debian is the packaging and process that packaging is put through. Plus their FOSS guidelines.

      So sure, if it’s something new and dev’y, it should isolate the dependencies mess. But when it’s mature, sort out the dependencies and get it into Debian, and thus all downstream of it.

      I don’t want to go back to app-folders. They end up with a missmash of duplicate old or whacky lib. It’s bloaty, insecure and messy. Gift wrapping the mess in containers and VM, mitigates some of security issues, but brings more bloat and other issues.

      I love FOSS package management. All the dependencies, in a database, with source and build dependencies. All building so there is one copy of a lib. All updating together. It’s like an OS ecosystem utopia. It doesn’t get the appreciation it should.

    • raspberriesareyummy@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      5 months ago

      Now Debian insists we add the GPG keys manually. Like cavemen.)

      Erm. Would you rather have debian auto-trust a bunch of third party people? It’s up to the user to decide whose keys they want on their system and whose packages they would accept if signed by what key.

      • umbraroze@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        Not “auto trust”, of course, but rather make adding keys is a bit smoother. As in “OK, there’s this key on the web site with this weird short hex cookie. Enter this simple command to add the key. Make sure signature it spits out is the same on the web page. If it matches, hit Yes.”

        And maybe this could be baked somehow to the whole APT source adding process. “To add the source to APT, use apt-source-addinate https://deb.example.com/thingamabob.apt. Make sure the key displayed is 0x123456789ABC by Thingamabob Team with received key signature 0xCBA9876654321.”

        • raspberriesareyummy@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          For the keys - do you mean something like

          sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 00000000 where 00000000 is replaced with the fingerprint of the key you want to fetch?

          I do agree - the apt-key command is kinda dangerous because it imports keys that will be generally trusted, IIRC. So a similar command to fetch a key by fingerprint for it to be available to choose as signing keys for repositories that we configure for a single application (suite) would be nice.

          I always disliked that signing keys are available for download from the same websites that have the repository. What’s the point in that? If someone can inject malicious code in the repository, they sure as hell can generate a matching signing key & sign the code with that.

          Hence I always verify signing keys / fingerprints against somewhat trustworthy third parties.

          What we really need though is a crowdsourced, reputation-based code review system. Where open source code is stored in git-like versioning history, and has clear documentations for each function what it should and should not do. And a reviewer can pick as little as an individual function and review the code to confirm (or refute) that the function

          1. does exactly what the interface documentation claims it does
          2. does nothing else
          3. performs input validation (range checks etc)
          4. is well-written (in terms of performance)

          Then, your reputation score would increase according to other users concurring with your assessment (or decrease if people disagree), and your reputation can be used as a weighting factor in contributing to the “review thoroughness” of a code module that you reviewed. E.g.: a user with a reputation of 0.5 confirms that a module does exactly what it claims to do: Module gets review count +1, module gets new total score of +0.5, new total weight of ( combined previous weights + 0.5 ) and the average review score is “reviews total score” / “total weight”.

          Something like that. And if you have a reputation of “0.9”, the review count goes +1, total score +0.9, total weight +0.9 (so the average score stays between 0 and 1).

          Independent of the user reputation, the user’s review conclusion is stored as “1” (= performs as claimed) or “0” (= does not perform as claimed) for this module.

          Reputation of reviewers could be calculated as the sum of all their individual review scores (at the time the reputation is needed), where the score they get is 1 minus the absolute difference between the average review score of a reviewed module and their own review conclusion.

          E.g. User A concludes: module does what it claims to do: User A assessment is 1 (score for the module) User B concludes: module does NOT what it claims to do: User B assessment is 0 (score)

          Module score is 0.8 (most reviewers agreed that it does what it claims to do)

          User A reputation gained from their review of this module is 1 - abs( 1 - 0.8 ) = 0.8 User B reputation gained from their review of this module is 1 - abs( 0 - 0.8 ) = 0.2

          If both users have previously gained a reputation of 1.0 from 10 reviews (where everyone agreed on the same assessment, thus full scores):

          User A new reputation: ( 1 * 10 + 0.8 ) / 11 = 0.982 User B new reputation: ( 1 * 10 + 0.2 ) / 11 = 0.927

          The basic idea being that all modules in the decentralized review database would have a review count which everyone could filter by, and find the least-reviewed modules (presumably weakest links) to focus their attention on.

          If technically feasible, a decentralized database should prevent any given entity (secret services, botfarms) to falsify the overall review picture too much. I am not sure this can be accomplished - especially with the sophistication of the climate-destroying large language model technology. :/

    • TheRedSpade@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      5 months ago

      That’s what I’ve done with my deck. Some things just aren’t available through discover, and the Firefox build on there has behavior that I don’t like or know how to correct. Distrobox gives me access to the Arch repos + AUR with persistence that you can’t get on SteamOS without it.

      • gh0stcassette@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        5
        ·
        5 months ago

        SteamOS is an arch derivative, so you could also just install arch, add the SteamOS repos, and set the steam UI in gamescope to launch on login

    • Presi300@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 months ago

      Or just use Arch… only for half of your AUR packages to be broken and end up still using flatpaks anyways.

  • AstralPath@lemmy.ca
    link
    fedilink
    arrow-up
    27
    ·
    5 months ago

    I’m new to Linux. Every time I’ve had a major issue with an application it turned out to be due to a flatpak. I’ll stick with other options for the time being.

    • Norgur@fedia.io
      link
      fedilink
      arrow-up
      49
      ·
      5 months ago

      Back in the day, when I installed my very first Linux OS, I had a wireless stick from Netgear. Wireless Drivers back then were abysmal, so I had to compile them from source (literally 15 mins after seeing a TTY for the first time). After I had found out how build-dependencies and such worked somehow and ./configure completed successfully for the first time, the script ended with the epic line:

      configure done. Now type 'make' and pray

      • Ananace@lemmy.ananace.dev
        link
        fedilink
        arrow-up
        17
        ·
        5 months ago

        Ah, I had one of those wireless sticks from Netgear as well, probably a different model but still a royal pain to get it working.
        Luckily ndiswrapper has become a thing of the past nowadays.

    • Zacryon@lemmy.wtf
      link
      fedilink
      arrow-up
      22
      ·
      edit-2
      5 months ago

      Because it’s always so easy to compile everything you need from source! Just make sure to download, compile and install the dependencies first as well. Oh, and the dependencies’ dependencies. And the ones from them. And so on. Unless you’re lucky enough that there are already packaged dependencies available for you. Don’t know how to compile? No problem, just read the documentation. You can be absolutely 1000000% dead serious sure that everything you need to know is documented and extremely super duper easy to understand if you don’t know the source code or barely know how to code at all. And if not, maybe you can find the bits of information on the respective Discord server. It will probably be also very intuitive to know which build options you have to set in which way and which ones even exist. And that without causing conflicts with other packages you need to compile. Still got got problems with compiling? EZ, just open a bunch of issues on the respective GitHub pages. (If present. Otherwise, try to find another way to contact devs and get support, Discord for example.) Maybe, about six months later you’re lucky to get a response. And if not, don’t worry. Some will tell you, you should RTFM or are an idiot. Some will just close the issue because your platform isn’t supported anyway. Then you know, what you did wrong. Also don’t mind if your issue gets ignored.
      If you finally managed to compile everything from source, congratulations! Now run the program and test if everything is working. If it’s not or if it is crashing, don’t worry! In developed and civilised countries you can just buy a shotgun and blast your own head away to end this suffering.

      EZ! Just compile from source! /s

      • Programmer Belch@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        9
        ·
        5 months ago

        I just complie from source some lightweight programs that are too niche for repositories. I am in no way advocating for full source compilation of every program in your system, that’s a security and usage nightmare. Flatpack does have its use for sandboxing an environment. I personally use it for windows applications in bottles.

      • henfredemars@infosec.pub
        link
        fedilink
        English
        arrow-up
        7
        ·
        5 months ago

        My workflow always definitely includes multiple weeks to debug random issues with building the tools I need to use. Totally a scalable and good solution to dump this work on the end user.

    • henfredemars@infosec.pub
      link
      fedilink
      English
      arrow-up
      8
      ·
      5 months ago

      This doesn’t scale. If I have a bug and my package has about two dozen dependencies which can all be different versions, and the developer can’t reproduce my bug, I’m just screwed. Developers don’t have the time and resources to chase down a bug that depends on build time variables.

      Ask me how I know this happens.

    • jet@hackertalks.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 months ago

      I like the ports tree that only compiles from source, yes it’s slow, but you know the binaries you make are pure.

  • 56!@lemmy.ml
    link
    fedilink
    arrow-up
    22
    ·
    5 months ago

    They do? I’ve always seen that as being up to distro maintainers, and out of control of the devs.