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:
and tried to install it :
$ sudo dnf install ‘/home/emmanuel/Downloads/flathub.flatpakrepo’
No match for argument: /home/emmanuel/Downloads/flathub.flatpakrepo

What should I do?

flatpak remote-add --if-not-exists flathub

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

$ flatpak remote-add --if-not-exists flathub

bash: flatpak: command not found


sudo dnf install flatpak

then add flathub repo as described above.

thanks Flo!

problem solved.


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.