L5's disk usage

I was surprised a bit about the L5’s disk usage and looked around:

root@pureos:/# df -kh | egrep 'Size|dm-0'
Filesystem      Size  Used Avail Use% Mounted on
/dev/dm-0        29G   11G   17G  39% /
root@pureos:/# du -sh /var 
4.7G	/var
root@pureos:/# du -sh /var/lib/flatpak /var/log/journal
1.9G	/var/lib/flatpak
1.6G	/var/log/journal

Is there a way to reduce the used size in the two latter areas?

Maybe: Mining the journalctl logs and related discussion.

Hence, in this guide, we will give you some commands which you can run it by yourself to clean up flatpak apps.

1 Like

Should I assume that this all works the same for the L 14? Sorry for silly noobie question :blush:

As the article said:

flatpak uninstall --unused will remove all unused flatpak runtimes.

No luck:

flatpak uninstall --unused
Nothing unused to uninstall

this means that all the runtimes that you have on the system are being used by at least one flatpak application

yes, all of this will work on a Librem 14 :smiley:

2 Likes