How add flathub repository in fedora 37 xfce

How can I add the flathub repository in fedora 37 xfce?
I downloaded the repository from the official site:
https://flatpak.org/setup/Fedora
and tried to install it :
$ sudo dnf install ‘/home/emmanuel/Downloads/flathub.flatpakrepo’
but…
No match for argument: /home/emmanuel/Downloads/flathub.flatpakrepo

What should I do?

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

flatpak is the package management tool for flatpaks, not dnf. dnf does package management for rpm packages.

$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

bash: flatpak: command not found

???

sudo dnf install flatpak

then add flathub repo as described above.

thanks Flo!

problem solved.

sure.

I think in xfce there is no native gui tool that integrates flatpaks (from flathub). You can install Gnome Software ( :cold_sweat: ) or Discover, or just use command line flatpak search ... (Flatpak Command Reference — Flatpak documentation)

1 Like

Or keep an eye on Yumex-NG. It is still at the early stages of development, but it looks promising: it also support flatpaks.

2 Likes