flatpak-uninstall man page
flatpak-uninstall — Uninstall an application or runtime
flatpak uninstall [OPTION...] [REF...]
Uninstalls an application or runtime. REF is a reference to the application or runtime to uninstall.
Each REF argument is a full or partial indentifier in the flatpak ref format, which looks like "(app|runtime)/ID/ARCH/BRANCH". All elements except ID are optional and can be left out, including the slashes, so most of the time you need only specify ID. Any part left out will be matched against what is installed, and if there are multiple matches an error message will list the alternatives.
By default this looks for both installed apps and runtimes with the given REF, but you can limit this by using the --app or --runtime option, or by supplying the initial element in the REF.
Normally, this command removes the ref for this application/runtime from the local OSTree repository and purges any objects that are no longer needed to free up disk space. If the same application is later reinstalled, the objects will be pulled from the remote repository again. The --keep-ref option can be used to prevent this.
If all branches of the application/runtime are removed, this command also purges the data directory for the application.
Unless overridden with the --system, --user, or --installation options, this command searches both the system-wide installation and the per-user one for REF and errors out if it exists in more than one.
The following options are understood:
- -h, --help
Show help options and exit.
Keep the ref for the application and the objects belonging to it in the local repository.
Uninstalls from a per-user installation.
Uninstalls from the default system-wide installation.
Uninstalls from a system-wide installation specified by NAME among those defined in /etc/flatpak/installations.d/. Using --installation=default is equivalent to using --system.
The architecture to uninstall, instead of the architecture of the host system.
Remove all refs on the system.
Remove unused refs on the system.
- -y, --assumeyes
Automatically answer yes to all questions. This is useful for automation.
Only look for an app with the given name.
Only look for a runtime with the given name.
Don't uninstall related extensions, such as the locale data.
Remove files even if they're in use by a running application.
- -v, --verbose
Print debug information during command processing.
Print OSTree debug information during command processing.
$ flatpak --user uninstall org.gnome.GEdit