FLATPAK-UNINSTALL(1)
π FLATPAK UNINSTALL π
okay bestie, welcome to the flatpak uninstall manual page, aka the part of the flatpak fam that helps you yeet apps and runtimes you no longer vibe with ποΈβ¨ (the manual name is flatpak-uninstall, if you're being formal about it, and this whole thing lives in the flatpak docs) π«Ά
β¨ NAME β¨
flatpak-uninstall β uninstall an application or runtime. bye bye ππ
πΈ SYNOPSIS πΈ
flatpak uninstall [OPTION...] [REF...]
π¦ DESCRIPTION π¦
So basically: this uninstalls an application or runtime. REF is a reference to the application or runtime you wanna uninstall π
Every REF argument is a full or partial identifier in the flatpak ref format, and that format looks exactly like this:
(app|runtime)/ID/ARCH/BRANCH
okay so here's the tea β β all elements except ID are optional, and you can leave them out, slashes included (yes, even the slashes, we're that chill). So most of the time you literally only need to specify ID and you're done π
Anything you leave out gets matched against what's actually installed, and if there are multiple matches, you'll be prompted to choose between them. You'll also get prompted if REF doesn't match any installed ref exactly but is similar β like, gedit is similar to org.gnome.gedit π₯Ί β but heads up, this fuzzy matching behavior is disabled if REF contains any slashes or periods. no cap.
By default this looks for both installed apps and runtimes with the given REF, but you can limit that 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.
When --delete-data is specified while removing an app, its data directory in ~/.var/app and any permissions it might have are removed π«£. When --delete-data is used without a REF, all 'unowned' app data is removed. gone. periodt.
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 drama.
π OPTIONS π
The following options are understood:
-h,--helpβ show help options and exit. iconic behavior honestly π--keep-refβ keep the ref for the application and the objects belonging to it in the local repository. it stays, bestie π₯°-u,--userβ uninstalls from a per-user installation.--systemβ uninstalls from the default system-wide installation.--installation=NAMEβ uninstalls from a system-wide installation specified byNAMEamong those defined in/etc/flatpak/installations.d/. Using--installation=defaultis equivalent to using--systemβ¨--arch=ARCHβ the architecture to uninstall, instead of the architecture of the host system. Seeflatpak --supported-archesfor architectures supported by the host π--allβ remove all refs on the system. all of them. every last one π--unusedβ remove unused refs on the system. spring cleaning energy π§ΌπΈ-y,--assumeyesβ automatically answer yes to all questions. this is useful for automation π€ slay--noninteractiveβ produce minimal output and avoid most questions. this is suitable for use in non-interactive situations, e.g. in a build script π οΈ--appβ only look for an app with the given name.--runtimeβ only look for a runtime with the given name.--no-relatedβ don't uninstall related extensions, such as the locale data π--force-removeβ remove files even if they're in use by a running application. > β οΈ yeah this one is the "no thoughts head empty" option, it removes files even while a running app is using them β proceed with awareness, bestie π--delete-dataβ remove app data in~/.var/appand in the permission store ποΈπ-v,--verboseβ print debug information during command processing.--ostree-verboseβ print OSTree debug information during command processing.
π EXAMPLES π
$ flatpak --user uninstall org.gnome.gedit
and that's the whole page, babe π this one comes from the flatpak manual, page FLATPAK UNINSTALL(1) β mwah, go forth and uninstall responsibly πβ¨π
π¦ where this page comes from
- debian trixie: flatpak 1.16.6-1~deb13u3
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- nixpkgs unstable: flatpak 1.18.4
- ubuntu stonking: flatpak 1.18.4-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms