Cannot comunicate with the server. and cannot locate /run/snapd.socket: connect:

(xenial)the_iq_sniper@localhost:~$ sudo snap install snap-store error: cannot communicate with server: Post http://localhost/v2/snaps/snap-store: dial unix /run/snapd.socket: connect: no such file or directory

Had the same problem on MX-Linux (MX-21.1_KDE_ x64, Debian). Needs to boot with “systemd” option enabled. Otherwise it wouldn’t accept anything snap.

A short sentence in the installation tutorial for Debian indicating this would help a lot!