Flatpack and the space of the hard disk

Flatpack has the big advantage that you can a) run apps that couldn’t run the “normal” way (integrated with the system), because of lack of dependencies or b) have automatic updates of apps otherwise upgradable only via ppa or manually.

But its big disadvantage is the space occupied on your hard disk: indeed any app in Flatpack is a “world” in itself, regardless not only of the system, but also other apps in Flatpack itself.

Therefore, be careful to add Flatpack apps, unless you need really them (and them via Flatpack).

disk full in linux

It may happen that your partition is almost full. So you can try to see where are too big files.

cache and logs

One reason could be cache files or log ones, in particular in /var.

You can delete useless (f.e. old) cache files and empty log files, these last with this command:

cat /dev/null > filename.log

old kernels

see this post.