Best way of totally removing all snaps and snap store?

Hello everyone,

I would like to totally remove snap and all the related files from my computer but when I run apt remove snapd it says it only wants to remove 61mb of files.

If I run this command will it delete all the snaps or do I need to uninstall them using snap first?

you want sudo apt purge snapd, that will make sure all data of snapd (configs, caches, etc) are removed as well (note, while snapd removes all snaps along with itself, i doubt apt knows about that, so it will probably not show the freed space the removal of the snap packages gives you) … to be sure everything is removed you can also check /var/lib/snapd/snaps, this is essentially the only “physical” place on disk where snaps use up space.

1 Like