Windows
Linux
Package Management
Windows Remove-AppxPackage equivalent in Linux
Uninstalls a Flatpak application and optionally cleans unused runtimes.
Windows
→
Remove-AppxPackage
Linux equivalents
flatpak uninstall APP_ID
flatpak uninstall APP_ID
flatpak uninstall APP_ID
Overview
What this command does
Uninstalls a Flatpak application and optionally cleans unused runtimes.
Migration tip: After uninstalling applications,
flatpak uninstall --unused removes runtimes that are no longer required.Practical tasks
Common use cases
Remove a sandboxed application
Uninstalls a Flatpak application and optionally cleans unused runtimes.
flatpak uninstall org.mozilla.firefox
Remove one application
flatpak uninstall --delete-data org.mozilla.firefox
Also remove app data
flatpak uninstall --unused
Remove unused runtimes
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
flatpak uninstall org.mozilla.firefox
flatpak uninstall --delete-data org.mozilla.firefox
flatpak uninstall --unused
Walkthrough
Examples with explanations
flatpak uninstall org.mozilla.firefox # uninstall one application
flatpak uninstall --delete-data org.mozilla.firefox # remove the app and its data
flatpak uninstall --unused # clean unused dependencies
Reference
Common options and variations
| Command or option | Use |
|---|---|
flatpak uninstall org.mozilla.firefox | Remove one application |
flatpak uninstall --delete-data org.mozilla.firefox | Also remove app data |
flatpak uninstall --unused | Remove unused runtimes |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This workflow changes mostly by Linux distribution package manager: Debian/Ubuntu uses apt, Fedora uses dnf, and Arch uses pacman.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | apt + flatpak | flatpak uninstall APP_ID |
Removes an installed Flatpak application. Install Flatpak with: sudo apt install flatpak. |
| Fedora | dnf + flatpak | flatpak uninstall APP_ID |
Removes an installed Flatpak application. Fedora usually has strong Flatpak integration. |
| Arch | pacman + flatpak | flatpak uninstall APP_ID |
Removes an installed Flatpak application. Install Flatpak with: sudo pacman -S flatpak. |
Important
What to watch out for
--delete-data removes application data. Back up anything important before using it.
Keep learning