Ubuntu

Remove Snap

Snap while looking like a great thing on Desktops, it just isnt what we want on our servers.

snap list
snap remove $1
umount /snap/snapd/$2
apt purge snapd
rm -rf ~/snap /snap /var/snap /var/lib/snapd
  • $1 = Name of package to uninstall

  • $2 = ID of core directory (Find it with df)