Hi everyone. I keep getting a message of Low disk space on my Librem 5 even though i have only installed a couple of apps. I have also inserted a 512gb sd card but it can’t be used to transfer the apps there. It says that the operating system consumes 28.5 gb . I dont have any mp3s or movies on the internal memory. Its all in the sd card. I only have just a couple of apps installed
sudo apt autoremove --purge
Usually it’s the kernel upgrades that are not cleaned up.
Flatpaks occupy a lot of space in order to be distro-agnostic.
A lot of energy too.
Gnome is so obsessioned with Flatpaks. Flatpak it is not for mobile, is unsecurity, is unprivacy, un-unix, unfreedom, unoptimized and break dependencies with stable OSes.
You might also try
You can do 7d, 1d, etc. The journals can get somewhat large.
Some additional measures are mentioned here: Low disk space - how to clean out garbage?
And here: Running out of memory already
My guess would be either flatpaks or the system journal, or both. If you have not installed any flatpaks then … the system journal.
For managing the system journal: Tips & Tricks · Wiki · Librem5 / Librem 5 Community Wiki · GitLab
Note the first command given there to check how much disk space is being used by the system journal. Then you know whether to spend more time on managing the system journal or move on to some other explanation.
Thanks a lot for the links. I managed to free 4.5 GB
Flatpak is alright, but SNAP has some tiny issues that make gem more annoying in my experience.