Flatpak does not remove dependencies such as runtime components after a certain program is removed, this means if the program has been uninstalled the runtime libraries do not uninstall with it.
This can over time cause massive disk space usage, if you heavily rely on it.
Step 1. Removing runtime dependencies using the unused flag while running uninstall command.
flatpak uninstall --unused
After running this command, the terminal will print similar statements as shown below. The dependencies will vary based on what you had previously uninstalled.
Press Y, this will proceed to removing all those unused runtimes.
Join the discussion on Reddit
That’s it folks if you have any questions or want to discuss this further leave a comment below.
I compiled a list of software and services that I use to improve my workflow, here is the link to the list.