[Tutorial] How to replace the fedora flatpak repo with flathub

I originally posted this on reddit, but am posting here as well:

Adding flathub

Enable the flathub remote

flatpak remote-modify --no-filter --enable flathub

If it doesn’t exist, run

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

Changing remotes of applications

Run this command to reinstall fedora flatpak repo applications with ones from flathub

flatpak install --reinstall flathub $(flatpak list --app-runtime=org.fedoraproject.Platform --columns=application | tail -n +1 )

Remove the fedora flatpak repo.

flatpak remote-delete fedora

Make sure that the only thing prompted for removal is the runtime, if any other application is listed, run

flatpak install --reinstall flathub name.of.application

Otherwise, just hit y


Can you make a PR for the tips & tricks page in the Silverblue docs? GitHub - fedora-silverblue/silverblue-docs: Fedora Silverblue documentation. Thanks

1 Like

will do

Created a pull request here Add instructions for replacing fedora-flatpak remote with flathub by DitherWither · Pull Request #141 · fedora-silverblue/silverblue-docs · GitHub

Edit: Changed link as deleted and re-created the merge request. I have no idea how to edit a pull request