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 by NAME among those defined in /etc/flatpak/installations.d/. Using --installation=default is equivalent to using --system ✨
  • --arch=ARCH β€” the architecture to uninstall, instead of the architecture of the host system. See flatpak --supported-arches for 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/app and 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