Cannot install flatpak apps as standard user

I want to install flatpak apps as standard user (sudo rights not needed), but when I run

flatpak install flathub org.libreoffice.LibreOffice –user 

It returns,

Looking for matches…
error: Nothing matches –user in remote flathub

How should I proceed?

I think you should pass the “user” flag before install parameter. Try flatpak --user install flathub org.libreoffice.LibreOffice instead.

Nope, … same as before.

Looking for matches…
error: Nothing matches –user in remote flathub

Is “–user” flag using two dash?

~ ❯ flatpak --user install flathub org.libreoffice.LibreOffice 
Looking for matches…
error: No remote refs found similar to ‘flathub’

Did this work on your system?

Wait, I’ll try to install that flatpak package.

flatpak install flathub org.libreoffice.LibreOffice --user 
~ ❯ flatpak install flathub org.libreoffice.LibreOffice --user
Looking for matches…
error: No remote refs found similar to ‘flathub’

Oh, you need to add remote to the “user” flag. Try flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo <-edited (you might need sudo for that) and check with flatpak remotes to see if its available for user.

2 Likes

Thanks. (And it didn’t need sudo)

1 Like

No problem. :grinning:

1 Like

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