How do I remove a Flatpak repository I added for one app?
Asked by
old town guide
I'm new to using the terminal. I added the Flatpark repository so I could install Stoat, a Discord alternative, with this command:
flatpak --user remote-add --if-not-exists flatpark https://dl.flatpark.org/flatpark.flatpakrepo
Stoat is working, but I no longer want the Flatpark repository configured on my system. What is the correct way to remove it?
Answers
Since you added it with the --user option, remove it from your user-level Flatpak remotes with:
flatpak --user remote-delete flatpark
This removes the repository configuration, but it should not uninstall Stoat or other applications already installed from it.
Reply to this answer
If Flatpak says the remote does not exist, first check which remotes are configured:
flatpak remotes --user
flatpak remotes --system
If `flatpark` appears in the system-wide list instead, remove it with:
sudo flatpak remote-delete flatpark
The command is `remote-delete`; `flatpak remove-repo` is not the appropriate command for deleting a configured remote.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions