Cannot find application after snap install [closed]
Mia Lopez
I followed the installation guide from snapcraft.io. My system cannot find the hello-world application:
$ sudo snap install hello-world
[sudo] password for gauthier:
hello-world 6.4 from Canonical✓ installed
$ hello-world
bash: hello-world: command not foundHow do I fix this?
Debian 10, but I guess the process is the same as Ubuntu.
61 Answer
Apparently, installing snap from apt does not add the correct path to /etc/environment, or PATH.
The snap applications are in /snap/bin/, so there is the string to somehow add to your PATH.
I feel that this should be automated, or at least pointed out to the user upon installation of snap. (Yes, I rebooted with no success.)