Allow removing unneeded runtimes
@aday
Submitted by Allan Day Link to original bug (#778953)
Description
I use separate root and home partitions. Today I started getting warnings that my root partition was full. After digging into the problem, I discovered that Flatpak was using a lot of space - about 10GB.
I wasn't able to find a tool which told me how much space each app and runtime was using. Ideally that's something that would be provided by Usage [1].
At the same time, it might also be useful for Software to provide some functionality for removing currently invisible Flatpak objects. Possibilities here:
- Show installed runtimes that aren't depended on by apps (like SDKs)
- Show installed extensions (like debug or locale extensions)
- When showing how much space is used by an app, also show the size of the runtime it depends on
- Show all installed runtimes, and:
- Show which apps depend on each runtime
- Show the total space used by the runtime and all the apps that depend on it
- Allow removing a runtime and all the apps that depend on it
I'm not sure that 3 or 4 would be a good idea - just listing them here for completeness.