installed snapd with pacman, entered the command sudo systemctl enable --now snapd.socket
and sudo ln -s /var/lib/snapd/snap /snap
I want to test snap with the command
sudo snap install hello-world
and here is such an error
error: cannot communicate with server: Post “http://localhost/v2/snaps/hello-world”: dial unix /run/snapd.socket: connect: no such file or directory
here is what sudo systemctl status --now snapd.socket shows
snapd.socket - Socket activation for snappy daemon
Loaded: loaded (/usr/lib/systemd/system/snapd.socket; enabled; preset: disabled)
Active: active (listening) since Sat 2023-06-03 14:04:38 +05; 26 minutes ago
Triggers: ● snapd.service
Listen: /run/snapd.socket (Stream)
/run/snapd-snap.socket (Stream)
Tasks: 0 (limit: 9418)
Memory: 0B
CPU: 352us
CGroup: /system.slice/snapd.socket
Jun 03 14:15:52 computeruniverse systemd[1]: snapd.socket: Socket unit configuration>
Jun 03 14:17:39 computeruniverse systemd[1]: snapd.socket: Socket unit configuration>
Jun 03 14:18:45 computeruniverse systemd[1]: snapd.socket: Socket unit configuration>
Jun 03 14:19:46 computeruniverse systemd[1]: snapd.socket: Socket unit configuration>
Jun 03 14:20:00 computeruniverse systemd[1]: snapd.socket: Socket unit configuration>
Jun 03 14:20:12 computeruniverse systemd[1]: snapd.socket: Socket unit configuration>