If you want to remove a snapd (e.g if you don't want to use it) from system completely - the only sudo eopkg rmf snapd doesn't help. After this, the /snap, /var/lib/snap will be still existing in a system and will be mounting a snaps in /dev/loop on the boot.
Instead, you should bring a some manual interventions:


  1. Check list of installed snaps: sudo snap list --all
  2. Remove all of installed snaps: sudo snap remove snapname (for core snap also use a --revision revision_number option)
  3. Remove a snapd by sudo eopkg rmf snapd
  4. List all /dev/loop devices currently mounted by snap: sudo mount | grep snap | awk '{print $3}'
  5. Unmount this devices by sudo umount device_name
  6. Remove snap directory: sudo rm -rf /var/lib/snap && sudo rm -rf /snap
  7. Remove all files that used to mount a snap packages from /var/lib/snapd/snaps to /snapon the boot:
    sudo find /etc/systemd/system -name "snap-*.mount" -delete
    sudo find /etc/systemd/system -name "snap.*.service" -delete
    sudo find /etc/systemd/system/multi-user.target.wants -name "snap-*.mount" -delete
    sudo find /etc/systemd/system/multi-user.target.wants -name "snap.*.service" -delete
  8. Reboot, and that's all. snapd is removed. You're perfect.

    Personally I would not recommend removing things that are part of the original installation...

      6 months later

      downhill /var/lib/snapd is not exist on my installation, but you're right about /var/snap . Thanks!

        kyrios I wonder why snapd is included in the base install, although it is not required until I really want to install some snap package?
        Wouldn't it make more sense to only install it if required?

          palto42 because snap is the planned replacement for thirdparty software and if you wanna have a software which doesnt pass our package inclusion policy

            Girtablulu I understand that this is good for user simplicity, but still it adds unnecessary overhead for those who don't need it. Other applications which are installed but not used are only taking some disk space, but snapd is an extra background process.
            I tried snapd for 2-3 apps, but it didn't work for me, mainly because of the disk access restrictions it enforces.

            Dentraq /var/lib/snapd on my laptop was 1gb in size. Talk about bloat.

            livingsilver94 For apps not in the repos of the distro I'm using, my first preference is static build. My second preference is AppImage.