I am trying to install a flatpak to the --user context and run it. Seems like it should be straightforward but so far, no dice.
first, I installed flatpak itself to cent 7. Nothing to see here.
Second I added flathub to --user (actually this was trial and error. I first added it to the system, but realized that I had to add it to user as well. It is odd to me that I seemingly have to register flathub explicitly for --user. I would assume that I should be able to install flatpaks to the user location without being forced to configure it separately)
sudo flatpak add-remote flathub https://dl.flathub.org/repo/flathub.flatpakrepo
....
sudo flatpak add-remote --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
next I install a flatpak
sudo flatpak install --user flathub com.obsproject.Studio
...
That seems to work. At least there are no errors. However, this doesnt work:
flatpak run com.obsproject.Studio
error: app/com.obsproject.Studio/x86_64/master not installed
Huh, well let me try again. Maybe there were errors that i missed somehow…
sudo flatpak install flathub com.obsproject.Studio
Skipping: com.obsproject.Studio/x86_64/stable is already installed
So is installed or not? Well it is talking about stable instead of master, maybe I have to specify stable?
flatpak run --user com/obsproject.Studio/x86_64/stable
error: app/com.obsproject.Studio/x86_64/stable not installed
What does flatpak list say?
flatpak list
flatpak list --user
Huh… So any ideas on where to go from here? Am I missing something (or a whole bunch of things?)
It would be really nice if the documentation was clearer on where these artifacts were actually stored. For instance the section that talks about using the --user flag makes no mention of where the flatpaks end up in the home directory…