this post was submitted on 20 Jan 2024
36 points (90.9% liked)

Linux

47231 readers
870 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi there - I'm trying to make use of flatpaks, but keeping them isolated from my host (as I need to experiment with a bunch of settings and I don't want to bork my host environment. Again.)

Has anyone had actual success making this work? I've only been able to get anything to install by sudo-ing, but even then, I cannot get things to run. It'll fail with file not found (but which file? verbose mode doesn't help) or fail to connect to the system bus.

I've seen some posts about unmounting /var/lib/flatpak on initialization but I've had no luck there. (I'm on Fedora 39, which, to be honest, I'm rather enjoying.)

Is this a technique that anyone has had luck with? Worth pursuing?

FWIW, my big goal is to run bottles and I've had far more luck with bottles (which strongly recommends flatpak) than with winehq.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 7 months ago (1 children)

But flatpaks when done right have all their settings in their container.

If you want a totally vanilla experience, maybe run it from a systemd-enabled rootful distrobox? Flatpak needs systemd and that is not supported in rootless distroboxes

[–] [email protected] 2 points 7 months ago (1 children)

Many Flatpaks aren't done right (though this is easy to fix after installing them, no need for Distrobox in this case), and Flatpaks don't require systemd.

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

Really? But afaik I couldnt install flatpak in distrobox. Maybe the apps themselves dont require it but the install process?

They may not require systemd but some init system.

[–] [email protected] 1 points 7 months ago

Flatpak has no relation at all to systemd.

It likely just didn't have permissions.