Remove Old Snap Versions


Remove old Snap versions.

Snap by default, stores 3 snap versions on the system, after snap package updates and this meaning that for each installed snap package, there has to be at least 2 updates, I had a total of 9 revisions stored on my system, three different Snaps taking up quite a bit of disk space, so I decided I wanted to remove old snaps.

As of snapd 2.34, there is an option to limit snap packages stored on your system called refresh.retain, which you can use to remove old snaps versions.

Now how to remove old snaps versions, you simply limit the snaps stored. To set the maximum number of a snap's revisions stored by the system after the next refresh, you can set it to a number between 2 and 20.

Remove Old Snap Versions.

Type the following command:

sudo snap set system refresh.retain=2

Press Enter, done.

Next time it updates, you will see only the latest and the former update snap version. This will reduce my current snaps, by three, freeing up some extra space.


Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.


All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While strives to make the information on this site as accurate as possible, does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.


Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.


Limited Time Offers

Coming soon...