Command '/bin/firefox' requires the firefox snap to be installed.
Please install it with:
snap install firefox
root@localhost:~# snap install firefox
error: cannot communicate with server: Post "http://localhost/v2/snaps/firefox": dial unix /run/snapd.socket: connect: no such file or directory
I did apt install firefox
then
root@localhost:~# firefox
Command '/bin/firefox' requires the firefox snap to be installed. Please install it with:
snap install firefox
root@localhost:~# snap install firefox error: cannot communicate with server: Post "http://localhost/v2/snaps/firefox": dial unix /run/snapd.socket: connect: no such file or directory