4

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 found

How do I fix this?

Debian 10, but I guess the process is the same as Ubuntu.

Gauthier
  • 2,757

1 Answers1

5

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.)

Gauthier
  • 2,757