Thursday, 26 January 2023

"How To Remove Old Snap Versions To Free Up Disk Space" - How to Keep Fewer Revisions

When in the mood to fight for the megabytes :) the Snap package manager by default keeps the 3 last versions of the snaps ... would that sound a bit too much, that number can be reduced:

https://www.linuxuprising.com/2019/04/how-to-remove-old-snap-versions-to-free.html

TL;DR

sudo snap set system refresh.retain=2