Flatsweep is a free and open source system flatpak leftover cleaner application for Linux. Using Flatsweep, you can clean all residue files and directories left on your system by uninstalled Flatpaks. Uninstalling a Flatpak application will leave some files behind on your system. Using this application you can save your system space. It is written in Python and released under Mozilla Public License 2.0.
How to Install Flatsweep on Ubuntu
Flatsweep is available as a flatpak package file from the remote flathub repository. If you don’t have then first install flatpak and flathub using below commands in the terminal app (ctrl+alt+t). And restart your system after the installation.
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
After above commands and restart, run below Flatsweep flatpak install command. It will install the latest version of Flatsweep on your system.
flatpak install flathub io.github.giantpinkrobots.flatsweep
After the successful installation of Flatsweep you can open it via the show apps menu from the Ubuntu dock or via below command in the terminal app.
flatpak run io.github.giantpinkrobots.flatsweep
And uninstall it using below commands.
flatpak uninstall io.github.giantpinkrobots.flatsweep
sudo flatpak uninstall io.github.giantpinkrobots.flatsweep