I'm newbiew with snap usage, I have few apps installed on my system, something that I notice when run the command
df -h I found mounted different versions of the same snap
/dev/loop0 143M 143M 0 100% /var/lib/snapd/snap/gravit-designer/7 /dev/loop1 82M 82M 0 100% /var/lib/snapd/snap/core/4110 /dev/loop7 198M 198M 0 100% /var/lib/snapd/snap/polarr/3 /dev/loop2 82M 82M 0 100% /var/lib/snapd/snap/core/4206 /dev/loop3 143M 143M 0 100% /var/lib/snapd/snap/gravit-designer/6 /dev/loop10 137M 137M 0 100% /var/lib/snapd/snap/gravit-designer/5
my question is why they keep there, the only way I found to remove the old is remove and install again the snap, there's something like
prune to maintain my system?
Here's a short script which will remove all old versions of snaps. This will only keep the current active version, which should recover you some disk space: