Why do flatpaks need root permissions when installing?

I am currently testing various programs as flatpaks instead of native packages.
I am still inexperienced with Flatpak, my understanding so far has been that flatpaks are created in my userdir and only run with my user permissions.
Why am I then asked for my root password during installation?

They don’t need root permissions.

It is the way pamac work, that cause the request for root permissions.

2 Likes

Hi @Nice,

What @linux-aarhus said, ignore me

I’m no expert and I do not use a single Flatpak/Snap, but I think it requests root permission during installation to permit the Flatpak what it requires to run, which might need the elevated permissions.

But as I mentioned, I’m no expert so I might be wrong…

:man_shrugging:

They can be installed systemwide or in home. In the first case root pass will be needed. This is however very rare.
Pamac always asks for pass and installs systemwide, because it is buggy.
Me personally i do not allow pamac to manage aur or flat packs anymore. Actually i use pacman for updates, flatpak for itself and yay for aur. Pamac is only good as a browser and to install a single app from repo. And for cleaning orphans.

3 Likes

Hi all,
thanks for the tipps regarding pamac, I didn’t know that this is buggy.
In future I will also prefer to install my programs via pacman, yay and flatpak in Konsole.

problem solved

1 Like

Just because one does not understand how a tool work does not make it bad tool.

If you want to install flatpak locally - you use

flatpak install <pkg-ref>

If you want to install it globally you use pamac - just like any other app you want to install globally.

It has been mentioned countless times that using AUR on stable branch is a no-go if you do not understand the underlying logic and the implications.

Not understand the logic does not make it viable to label a tool buggy or bad.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.