Linux/Remove Ubuntu Snap

What is Snap ?

Why remove it ?

  1. 2021: It is slower than APT packages, e.g. Firefox noticeably slower startup
  2. Creates a bunch of /dev/loopX devices for each snap package

How ?

sudo apt-get autopurge snapd

cat <<EOF | sudo tee /etc/apt/preferences.d/nosnap.pref
# To prevent repository packages from triggering the installation of Snap,
# this file forbids snapd from being installed by APT.
# For more information: https://linuxmint-user-guide.readthedocs.io/en/latest/snap.html

Package: snapd
Pin: release a=*
Pin-Priority: -10
EOF

Linux/RemoveUbuntuSnap (last edited 2021-11-06 12:09:15 by PieterSmit)