this post was submitted on 05 Jul 2024
730 points (93.9% liked)

linuxmemes

21188 readers
858 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 141 points 4 months ago (1 children)

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

    [–] [email protected] 87 points 4 months ago* (last edited 4 months ago) (1 children)

    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.

    [–] [email protected] 37 points 4 months ago (1 children)

    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.

    load more comments (1 replies)
    [–] [email protected] 138 points 4 months ago (2 children)

    I like Flatpak just because it isn't Snap

    [–] [email protected] 50 points 4 months ago (1 children)

    The enemy of my enemy, eh?

    [–] [email protected] 29 points 4 months ago

    ...is my enemy's enemy, no more, no less. (Maxims of Maximally Effective Mercenaries #29)

    [–] [email protected] 14 points 4 months ago

    Fair. Also, flatpak does not try to break everything by default, which is a plus.

    [–] [email protected] 69 points 4 months ago (6 children)
    [–] [email protected] 42 points 4 months ago (3 children)
    [–] [email protected] 44 points 4 months ago (1 children)

    Laughs in confusion

    (I dont know how i got here)

    [–] [email protected] 13 points 4 months ago (1 children)
    load more comments (1 replies)
    load more comments (2 replies)
    load more comments (5 replies)
    [–] [email protected] 52 points 4 months ago (2 children)

    Lol who the fuck is blaming app devs? Also something something arch

    [–] [email protected] 11 points 4 months ago (6 children)

    aur is the only thing I miss. I do like fedora with i3 very much but rpm can be pain in the ass sometimes

    load more comments (6 replies)
    load more comments (1 replies)
    [–] [email protected] 49 points 4 months ago (8 children)

    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
    
    [–] [email protected] 42 points 4 months ago (2 children)

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

    load more comments (2 replies)
    [–] [email protected] 22 points 4 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.

    [–] [email protected] 19 points 4 months ago* (last edited 4 months ago) (2 children)

    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.

    load more comments (2 replies)
    load more comments (5 replies)
    [–] [email protected] 38 points 4 months ago (3 children)

    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.

    [–] ryannathans 16 points 4 months ago (4 children)
    [–] [email protected] 15 points 4 months ago (12 children)

    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.

    [–] [email protected] 12 points 4 months ago (5 children)

    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.

    [–] [email protected] 11 points 4 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.

    load more comments (4 replies)
    load more comments (11 replies)
    load more comments (3 replies)
    load more comments (2 replies)
    [–] [email protected] 37 points 4 months ago (1 children)

    Flatpak haters hate new apps anyway.

    [–] [email protected] 26 points 4 months ago

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

    [–] [email protected] 34 points 4 months ago (11 children)

    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.

    load more comments (11 replies)
    [–] [email protected] 32 points 4 months ago (5 children)

    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.)

    load more comments (5 replies)
    [–] [email protected] 31 points 4 months ago (7 children)

    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.

    [–] [email protected] 54 points 4 months ago (1 children)

    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.

    load more comments (1 replies)
    [–] [email protected] 32 points 4 months ago (2 children)

    I'm not sure where you're getting the idea that Flatpak aren't centrally managed...

    load more comments (2 replies)
    [–] [email protected] 25 points 4 months ago (2 children)

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

    [–] [email protected] 21 points 4 months ago (2 children)

    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.

    load more comments (2 replies)
    load more comments (1 replies)
    [–] [email protected] 14 points 4 months ago (7 children)

    I think stability is a pretty good reason

    If an app can't be centrally managed

    Open Discover, Gnome Software etc -> Click update?

    load more comments (7 replies)
    load more comments (3 replies)
    [–] [email protected] 29 points 4 months ago (5 children)

    If you really hate flatpak just make an arch distrobox and download off the AUR. Or install Nix or something

    [–] [email protected] 13 points 4 months ago

    I do sort of wish Nix was a more popular distro agnostic solution

    load more comments (4 replies)
    [–] [email protected] 24 points 4 months ago (1 children)

    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.

    [–] [email protected] 12 points 4 months ago

    Also at least let me compile it myself if not in a repo 😩

    [–] [email protected] 22 points 4 months ago

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

    [–] [email protected] 21 points 4 months ago (4 children)

    And this, this is why I love the AUR

    [–] [email protected] 12 points 4 months ago* (last edited 4 months ago) (4 children)

    I think no one said it needs to be ON a distro's repos. That's a straw man.

    A package should be available in a native package format in a way that doesn't cause conflict with what's in the official repo. The reasons for a single source of truth on installed status should be obvious; but given the format of some packaging and the signed assurance of provenance, thr advantages to a native format can be leaves ahead of even that.

    Wow, is this meme a really naive take that is contradicted by - oh god, everything. Can someone know about enterprise Linux and also be this naive?

    load more comments (4 replies)
    load more comments (3 replies)
    [–] [email protected] 21 points 4 months ago

    laughs in appimage.

    [–] [email protected] 18 points 4 months ago (1 children)

    Are those flatpak haters that say that in the room with us right now? The main difference with distro repos is that packages in it are packaged by the distro packagers and everyone who has an opinion on flatpak should know that this is how it works.

    load more comments (1 replies)
    [–] [email protected] 17 points 4 months ago (8 children)
    [–] [email protected] 49 points 4 months ago (1 children)

    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

    [–] [email protected] 17 points 4 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.

    [–] [email protected] 20 points 4 months ago* (last edited 4 months ago) (3 children)

    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

    load more comments (3 replies)
    load more comments (6 replies)
    [–] [email protected] 16 points 4 months ago (2 children)

    False, if it exists in the Linux ecosystem it also exists in AUR

    load more comments (2 replies)
    [–] [email protected] 13 points 4 months ago* (last edited 4 months ago) (7 children)

    Meanwhile almost everything I ever wanted is either in main Gentoo repo or in there is overlay with it.

    load more comments (7 replies)
    load more comments
    view more: next ›