Flatpak is the desktop application framework that allows you to install same app on different Linux distributions. Before installing any flatpak app you need to install the flatpak framework on your system.
Uninstall Flatpak Completely from Linux
In this article we will see how to completely uninstall Flatpak and flatpak apps from Ubuntu Linux. For others like snap and apt check here.
How to List all Flatpak application:
In the terminal app (ctrl+alt+t) run below command to list and check all installed flatpak apps on your system.
flatpak list
How to Uninstall all Flatpak applications in One Command
If you want to remove all flatpak apps completely from your system, the in the terminal application run below commands one by one.
flatpak uninstall --unused
And
flatpak uninstall --all
The first command will remove all unused flatpak dependencies from your system. And the second command will remove all installed flatpak applications from your system.
After above commands you can check flatpak app list using below command.
flatpak list
Uninstall Flatpak
In the terminal app run below commands one by one to uninstall flatpak from your system.
sudo flatpak repair
The above command will repair and remove any broken flatpak installation and configuration. Then run below commands one by one.
sudo apt remove --autoremove flatpak
sudo apt purge flatpak
Restart your system. That’s all.
If you want to reinstall flatpak, then follow below link.