How do I remove a Flatpak repository I added for one app?

0
0
Asked By MellowCedar27 On

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?

2 Answers

Answered By QuietHarbor8 On

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.

Answered By BriskOtter42 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.