From ArchWiki
Jump to navigation Jump to search

To do

  • How to add / delete a repo
  • List of repos?
  • Installing / updating / removing flatpak applications
  • Building flatpak applications
  • Briefly mention differences with pacman and pros/cons
As a beginner, my main question coming here was "how is this different from pacman", and I did not find an answer. Gloomy (talk) 17:10, 3 August 2020 (UTC)

Why are we documenting basic usage such as listing repos when that is better handled by upstream documentation such as TingPing (talk) 17:34, 8 December 2016 (UTC)

Permissions / sudo conventions

Can there be information added regarding the --system and --user flags, as well as proper use of sudo for installing and running flatpak applications? As a new flatpak user, it's not clear to me what the conventions are for installing user applications (skype, feedreader, etc) especially since flatpak defaults to --system, requiring sudo to install and subsequently requiring sudo to run the application. Stephen304 (talk) 13:37, 13 November 2017 (UTC)

Assuming Polkit is correctly configured you never need to explicitly use sudo. If you have admin and it is a single user system it really doesn't matter which you choose. TingPing (talk) 16:20, 13 November 2017 (UTC)
I think it would be useful to note that applications installed without the --user flag (and therefore defaulting to --system) require sudo to install as well as run, while adding the --user flag when installing allows installing as non-root and running without sudo. It took me a while to realize that as the permissions error message without sudo and with --system default made me think that I had no choice but to install with sudo, and then I was confused when I had to also run with sudo. I figure this information would be very useful to other users getting started with flatpak for the first time. Stephen304 (talk) 13:49, 14 November 2017 (UTC)
Bad phrasing, it does not require sudo it requires admin access via polkit or sudo. TingPing (talk) 16:25, 15 November 2017 (UTC)
That doesn't really change that I still was confused, other people probably share that confusion, and the fact that the Flatpak page lacks any mention of the --user flag outside of the "Creating a custom base runtime" section. I think it's worthy of a mention in "Managing runtimes and applications", especially under "Install a runtime or application", where I would wager most people new to Flatpak will be looking at when trying to install applications like Feedreader and other desktop applications that would be easier to install and use when installed in the user context. Stephen304 (talk) 10:12, 16 November 2017 (UTC)

Why is an arch-based runtime unsuitable?

This page says I shouldn't use an arch-based runtime to distribute apps with flatpak. I am interested in packaging some software which is best supported as AUR packages for use on other distos.

So why shouldn't I be using arch as a base? I am thinking to try it anyway and remove that warning if it works out. Akvadrako (talk)