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?
SDN
23 February 2022 03:46
2
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
SDN
23 February 2022 03:53
4
sureshs2004:
–user
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?
SDN
23 February 2022 03:54
6
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’
1 Like
SDN
23 February 2022 04:05
9
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.
1 Like
Thanks. (And it didn’t need sudo)
system
Closed
25 February 2022 18:13
12
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.