flatpak / flatpak.github.io

Flatpak website
55 stars 99 forks source link

Quick Setup: add flathub repo with `--user` flag by default #560

Closed soredake closed 3 months ago

soredake commented 1 year ago

I think it's better to add flathub repo as user repo by default, to avoid potential pollution of /var/tmp (https://github.com/flatpak/flatpak/issues/528 and https://github.com/endlessm/systemd/commit/6bdb355a9e515b7b84ac1f37747603d4db4267c7) on distro's that don't clean up this path (opensuse for example) and to avoid any use of polkit (no entering password's anymore on distro's that require it when working with flatpak). Another reasons for using user over system can be found here https://bugs.kde.org/show_bug.cgi?id=441428#c6

o-alquimista commented 9 months ago

Transferred from this issue over at Flathub:

From https://docs.flathub.org/docs/for-users/user-vs-system-install/

Per-user installations are recommended for most users, unless they have a specific reason to use system-wide installations.

If it's recommended, then why don't we mention that in the Setup Flatpak pages?

From the Debian page:

Captura de tela_2023-11-12_14-48-55

It could be just a link for more information. Otherwise most users will be installing system-wide.

AsciiWolf commented 9 months ago

System-wide installation is the default option for now.