Is there any way to enable flatpak support in BSD? reddit / BSD ---------------------------------------------------------------------- Xerxero · 2023-07-03 10:34 Install Linux if you need flatpack. Or use the default package manager on your bsd of choice. I doubt anyone is waiting for a Linux package manager to be added to any bsd. ---------------------------------------------------------------------- burningastroballs · 2023-07-03 12:34 The site header for https://flatpak.org literally says "The future of apps on *Linux*". ---------------------------------------------------------------------- thesagarsharma1 · 2023-07-03 12:38 Hey, i know this okey. I was just looking for a hack as BSDs does have binary compatibility with Linux. ---------------------------------------------------------------------- burningastroballs · 2023-07-03 12:43 Flatpak isn't just binaries. It's structured/designed in a way that specifically requires a Linux system. I think you should spend some time learning what Flatpak is and how/why it works and it'll become clear pretty quickly that there's simply no benefit to having it on the BSDs. If you're looking for simplified deployments, there are tools for that. If you're looking for process isolation, use jails. ---------------------------------------------------------------------- Suitedbadge401 · 2023-07-03 13:44 Yeah I was just thinking to myself why someone would want flatpak on BSD ---------------------------------------------------------------------- jmcunx · 2023-07-03 16:15 No, and glad for it :) But FreeBSD and I believe DragonFlyBSD jas jails, IMHO better then flatpak. Not sure if you can run something like Firefox in a jail, never tried. As for OpenBSD, it has pledge(2) and unveil(2), which I think is a better solution than flatpak. A few ports (firefox/chrome) is pledged and unveiled among a few others I think. And pledge/unveil are rather easy to add to whatever development you are doing. ---------------------------------------------------------------------- n4jm4 · 2023-07-03 16:37 I understand that Flatpak, like systemd, is tightly coupled with Linux. If you want Flatpak, you have the option of installing Linux in some form, be it Docker, VM's, dual booting, etc. You could fork Flatpak and begin the process of decoupling it from Linux. This will be controversial, and even if it were accepted back upstream, there is still a long list of packages that would need rewriting to incorporate the new, decoupled installer. Design a *better* Flatpak that from the very start supports both Linux and BSD. If we can make it successful enough to eclipse Flatpak, then its portability will benefit the wider UNIX community. I am a big fan of crossplatform software. While I'm somewhat excited about Flatpak as a cross flavor manager within the family of Linux flavors, I'm even more excited about Docker, Homebrew, pkgsrc, pkgin, Ansible, go mod, and cargo, as they support more host operating systems than just Linux. Homebrew in particular works on macOS and Linux. It's high time we matured their BSD support. ---------------------------------------------------------------------- the_abortionat0r · 2023-07-07 06:16 If you have to wonder that than you don't know what a flatpack is. "Why would any one want portable software?". Edit:right a silent downvote by the ignorant. ---------------------------------------------------------------------- the_abortionat0r · 2023-07-07 06:19 I'm not sure you know what a flatpack is... ---------------------------------------------------------------------- jmcunx · 2023-07-07 16:10 I used it at work with RHEL. I puts applications into their own env/container. To me a PITA compared to FreeBSD jails and I believe OpenBSD pledge/unvail is far lighter on resources. ---------------------------------------------------------------------- the_abortionat0r · 2023-07-07 22:18 >I used it at work with RHEL Right, just like everyone who says that Unix/Linux is worthless and they should know they're a server 30 year server admin who has a selfie posted in r/teenagers. > I puts applications into their own env/container. And I puts the lotion on the skin. >To me a PITA compared to FreeBSD jails Really? Because you can sandbox with systems and flatpacks are by their very nature already in their own environment as far as libraries/components. But again you keep making it clear you don't actually know what a flatpack is which would normally be fine except you seem way to opinionated about it. >I believe OpenBSD pledge/unvail is far lighter on resources. Its always vague non committal statements with you guys when it comes to comparing BSD to Linux but anytime I ask for clarification/evidence or sources you guys disappear. Its like the guy saying HAMMER2 was better than BTRFS because is desktop compressed better than his EXT4 Linux server. ---------------------------------------------------------------------- OriginalTrip5759 · 2023-07-11 23:04 Cross-platform software is buggy, bloated, and full of security holes. Linux can keep flatpak. ---------------------------------------------------------------------- n4jm4 · 2023-07-11 23:05 Crossplatform software has *fewer* bugs, because it gets tested on more kinds of environmenta. It's necessarily leaner, because porting effort takes away from some bells and whistles. Crossplatform software receives more attention and more regular security patches. But go off. ---------------------------------------------------------------------- OriginalTrip5759 · 2023-07-11 23:17 Don't know what kind of kool-aid you've been drinking, but flatpak checks every one of those boxes. ---------------------------------------------------------------------- alexnoyle · 2023-07-20 04:15 No, but the AppImage guy is the HelloSystem guy, so that support isn't far off (at least for the FreeBSD ecosystem). I think its a vastly superior container format.