How to fix snap binaries not found

Captura%20de%20pantalla%20de%202019-08-08%2015-16-52

Warning: /snap/bin was not found in your $PATH. If you've not restarted your session since you
         installed snapd, try doing that. Please see https://forum.snapcraft.io/t/9469 for more
         details.

code 036a6b1d from Visual Studio Code (vscode✓) installed
snap --version

snap    2.39.3
snapd   2.39.3
series  16
deepin  15.11
kernel  4.15.0-30deepin-generic
The contents of /etc/os-release
PRETTY_NAME="Deepin 15"
NAME="Deepin"
VERSION_ID="15.11"
VERSION="15.11"
ID=deepin
HOME_URL="https://www.deepin.org/"
BUG_REPORT_URL="http://feedback.deepin.org/feedback/"
x-es are for privacy reasons

             ............ 
         .';;;;;.       .,;,. 
      .,;;;;;;;.       ';;;;;;;.         xxxxx@xxxxx
    .;::::::::'     .,::;;,''''',.       ------------- 
   ,'.::::::::    .;;'.          ';      OS: Deepin 15.11 x86_64 
  ;'  'cccccc,   ,' :: '..        .:     Model: xxxxxxxx
 ,,    :ccccc.  ;: .c, '' :.       ,;    Kernel: 4.15.0-30deepin-generic 
.l.     cllll' ., .lc  :; .l'       l.   Uptime: x minutes 
.c       :lllc  ;cl:  .l' .ll.      :'   Packages: 1488 
.l        'looc. .   ,o:  'oo'      c,   Shell: bash 4.4.12 
.o.         .:ool::coc'  .ooo'      o.   Resolution: xxxxxxxx 
 ::            .....   .;dddo      ;c    DE: Deepin 
  l:...            .';lddddo.     ,o     WM: KWin 
   lxxxxxdoolllodxxxxxxxxxc      :l      Icons: Deepin-dark [GTK2/3] 
    ,dxxxxxxxxxxxxxxxxxxl.     'o,       Terminal: deepin-terminal 
      ,dkkkkkkkkkkkkko;.    .;o;         CPU: Intel i3-2310M (4) @ 2.1GHz 
        .;okkkkkdl;.    .,cl:.           GPU: Intel Integrated Graphics 
            .,:cccccccc:,.               Memory: 476MB / 5908MB 
                                          
                                         ████████████████████████ 

Warning: /var/lib/snapd/snap/bin was not found in your $PATH. If you’ve not
restarted your session since you installed snapd, try doing that.
Please see htps://forum.snapcraft.io/t/9469 for more details.

$ snap version
snap 2.39.2-1.fc30
snapd 2.39.2-1.fc30
series 16
fedora 30
kernel 5.2.6-200.fc30.x86_64

the contents of /etc/os-release

NAME=Fedora
VERSION=“30 (Workstation Edition)”
ID=fedora
VERSION_ID=30
VERSION_CODENAME=""
PLATFORM_ID=“platform:f30”
PRETTY_NAME=“Fedora 30 (Workstation Edition)”
ANSI_COLOR=“0;34”
LOGO=fedora-logo-icon
CPE_NAME=“cpe:/o:fedoraproject:fedora:30”
HOME_URL="://fedoraproject.org/"
DOCUMENTATION_URL="://docs.fedoraproject.org/en-US/fedora/f30/system-administrators-guide/"
SUPPORT_URL="://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT=“Fedora”
REDHAT_BUGZILLA_PRODUCT_VERSION=30
REDHAT_SUPPORT_PRODUCT=“Fedora”
REDHAT_SUPPORT_PRODUCT_VERSION=30
PRIVACY_POLICY_URL=“https://fedoraproject.org/wiki/Legal:PrivacyPolicy
VARIANT=“Workstation Edition”
VARIANT_ID=workstation

Desktop, shell, etc.:

/:-------------:\ xxx@xxx
:-------------------:: ---------------------------------------
:-----------/shhOHbmp—:\ OS: Fedora 30 (Workstation Edition) x86_64
/-----------omMMMNNNMMD —: Host: 476022G Lenovo B570e
:-----------sMMMMNMNMP. —: Kernel: 5.2.6-200.fc30.x86_64
:-----------:MMMdP------- —\ Uptime: 1 hour, 13 mins
,------------:MMMd-------- —: Packages: 2165 (rpm), 14 (snap)
:------------:MMMd------- .—: Shell: bash 5.0.7
:---- oNMMMMMMMMMNho .----: Resolution: 1366x768
:-- .+shhhMMMmhhy++ .------/ DE: GNOME 3.32.2
:- -------:MMMd--------------: Theme: Adwaita [GTK2/3]
:- --------/MMMd-------------; Icons: Adwaita [GTK2/3]
:- ------/hMMMy------------: Terminal: gnome-terminal
:-- :dMNdhhdNMMNo------------; CPU: Intel i3-2330M (4) @ 2.200GHz
:—:sdNMMMMNds:------------: GPU: Intel 2nd Generation Core Processor F
:------:://:-------------:: Memory: 3132MiB / 3855MiB
:---------------------://

Error:
sudo snap install ghex-udt
Warning: /snap/bin was not found in your $PATH. If you’ve not restarted your
session since you installed snapd, try doing that. Please see
How to fix snap binaries not found for more details.

Snap Version:
snap 2.39.3
snapd 2.39.3
series 16
solus 4.0
kernel 5.2.7-123.current
/etc/os-release:
NAME=“Solus”
VERSION=“4.0”
ID=“solus”
VERSION_CODENAME=fortitude
VERSION_ID=“4.0”
PRETTY_NAME=“Solus 4.0 Fortitude”
ANSI_COLOR=“1;34”

It’s going to be at least a couple of weeks before I have time to do some gardening on this.

Some distributions obviously have some weird integration problems (some of them known), but you all have just been pasting a lot of information that’s not relevant and I need to sift through this mess before anything can be done. Also, at least go through what’s been reported to see if you’re just reporting a dupe? If you can’t even do that, how could I?

@cowsay your issue seems completely separate from this one, can you report it separately?

Everybody else, please stop with the huge banners about how much uptime you have. All they’re doing is going to make my work harder.

Warning: /snap/bin was not found in your $PATH. If you’ve not restarted your session since you
installed snapd, try doing that. Please see How to fix snap binaries not found for more
details.

snap version
snap 2.40
snapd 2.40
series 16
debian 10
kernel 4.19.0-5-amd64

/etc/os-release
PRETTY_NAME=“Debian GNU/Linux 10 (buster)”
NAME=“Debian GNU/Linux”
VERSION_ID=“10”
VERSION=“10 (buster)”
VERSION_CODENAME=buster
ID=debian
HOME_URL=“https://www.debian.org/
SUPPORT_URL=“https://www.debian.org/support
BUG_REPORT_URL=“https://bugs.debian.org/
neofetch
,met$$$$$gg. king@nv47h
,g$$$$$$$$$$$$$$$P. ----------
,g$$P" “”“Y$$.”. OS: Debian GNU/Linux 10 (buster) x86_64
,$$P’ $$$. Host: NV47H V1.24 ',$$P ,ggs. $$b: Kernel: 4.19.0-5-amd64
d$$' ,$P"' . $$$ Uptime: 1 hour, 22 mins $$P d$' , $$P Packages: 2086 (dpkg), 4 (flatpak), 4 (snap) $$: $$. - ,d$$' Shell: bash 5.0.3 $$; Y$b._ _,d$P' Resolution: 1366x768 Y$$. ."Y$$$$P"' DE: GNOME 3.30.2 $$b "-.
_ WM: GNOME Shell
Y$$ WM Theme: Adwaita Y$$. Theme: Adwaita [GTK2/3]
$$b. Icons: Qogir [GTK2/3] Y$$b. Terminal: gnome-terminal
"Y$b._ CPU: Intel i5-2450M (4) @ 2.500GHz “”" GPU: NVIDIA GeForce 610M
GPU: Intel 2nd Generation Core Processor Family
Memory: 1953MiB / 5775MiB

Warning: /var/lib/snapd/snap/bin was not found in your $PATH. If you've not restarted your session
         since you installed snapd, try doing that. Please see https://forum.snapcraft.io/t/9469
         for more details.

hello-world 6.4 from Canonical* installed
fez@archlinux ~/snapd-git> snap version
snap    2.40.r779.g4d13a33a3d-1
snapd   2.40.r779.g4d13a33a3d-1
series  16
arch    -
kernel  5.2.8-arch1-1-ARCH
fez@archlinux ~/snapd-git> neofetch
                   -`                    fez@archlinux 
                  .o+`                   ------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: AX370-Gaming 
               `+oooooo:                 Kernel: 5.2.8-arch1-1-ARCH 
               -+oooooo+:                Uptime: 13 mins 
             `/:-:++oooo+:               Packages: 676 (pacman), 7 (snap) 
            `/++++/+++++++:              Shell: fish 3.0.2 
           `/++++++++++++++:             Resolution: 1024x1280, 1920x1080 
          `/+++ooooooooooooo/`           DE: KDE 
         ./ooosssso++osssssso+`          WM: KWin 
        .oossssso-````/ossssss+`         Theme: Breeze Dark [KDE], Breeze [GTK3] 
       -osssssso.      :ssssssso.        Icons: breeze-dark [KDE], breeze [GTK3] 
      :osssssss/        osssso+++.       Terminal: konsole 
     /ossssssss/        +ssssooo/-       CPU: AMD Ryzen 5 2600 (12) @ 3.400GHz 
   `/ossssso+/:-        -:/+osssso+-     GPU: NVIDIA GeForce GTX 1060 3GB 
  `+sso+:-`                 `.-/+oso:    Memory: 1752MiB / 16050MiB 
 `++:.                           `-/+/
 .`                                 `/                           

I’m seeing this on CentOS 7.

[snapcraft@centos7-snapcraft ~]$ sudo snap install ohmygiraffe
[sudo] password for snapcraft: 
Warning: /var/lib/snapd/snap/bin was not found in your $PATH. If you've not restarted your session
         since you installed snapd, try doing that. Please see https://forum.snapcraft.io/t/9469
         for more details.

ohmygiraffe 1.1.0a from Alan Pope (popey) installed
[snapcraft@centos7-snapcraft ~]$ snap version
snap    2.39.2-1.el7
snapd   2.39.2-1.el7
series  16
centos  7
kernel  3.10.0-957.27.2.el7.x86_64
[snapcraft@centos7-snapcraft ~]$ cat /etc/os-release 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

[snapcraft@centos7-snapcraft ~]$

@chipaca is there something we can do to resolve this?

I’m also seeing this on Solus 4, as others have reported, but /snap/bin is indeed in the $PATH. So I don’t understand why it’s complaining.

Tried to remove snapd and install again. Tried even restarting after every command. Tried to run command using sudo and without sudo. Without sudo there is no warning, but app does not run anyway. In my case it is wickrme.

Warning: /var/lib/snapd/snap/bin was not found in your $PATH. If you've not
         restarted your session since you installed snapd, try doing that.
         Please see https://forum.snapcraft.io/t/9469 for more details.

snap version:

snap    2.41-1.fc30
snapd   2.41-1.fc30
series  16
fedora  30
kernel  5.2.13-200.fc30.x86_64

/etc/os-release

NAME=Fedora
VERSION="30 (Workstation Edition)"
ID=fedora
VERSION_ID=30
VERSION_CODENAME=""
PLATFORM_ID="platform:f30"
PRETTY_NAME="Fedora 30 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:30"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Desktop, shell, etc.:

OS: Fedora release 30 (Thirty) x86_64
Host: 20EV002FUS ThinkPad E560
Kernel: 5.2.13-200.fc30.x86_64 
Packages: 1815 (rpm), 6 (snap)
Shell: bash 5.0.7
DE: GNOME 3.32.2
Terminal: gnome-terminal
CPU: Intel i5-6200U (4) @ 2.800GHz
GPU: Intel Skylake GT2 [HD Graphics 520]
Memory: 2359MiB / 15921MiB

bash: skype: command not found

snap 2.41
snapd 2.41
series 16
debian 10
kernel 4.19.0-6-amd64

PRETTY_NAME=“Debian GNU/Linux 10 (buster)”
NAME=“Debian GNU/Linux”
VERSION_ID=“10”
VERSION=“10 (buster)”
VERSION_CODENAME=buster
ID=debian
HOME_URL=“https://www.debian.org/
SUPPORT_URL=“https://www.debian.org/support
BUG_REPORT_URL=“https://bugs.debian.org/

_,met$$$$$gg.	      xxxxxxxxx@xxxxxxxxxx 
,g$$$$$$$$$$$$$$$P.       ------------- 

,g$$P" “”“Y$$.”. OS: Debian GNU/Linux 10 (buster) x86_64
,$$P’ $$$. Host: HP Pavilion Notebook ',$$P ,ggs. $$b: Kernel: 4.19.0-6-amd64
d$$' ,$P"' . $$$ Uptime: 58 mins $$P d$' , $$P Packages: 2322 (dpkg), 6 (snap) $$: $$. - ,d$$' Shell: bash 5.0.3 $$; Y$b._ _,d$P' Resolution: 1600x900 Y$$. ."Y$$$$P"' DE: Xfce $$b “-.__ WM: Xfwm4
Y$$ WM Theme: Moheli Y$$. Theme: Raleigh [GTK2], Adwaita [GTK3]
$$b. Icons: Tango [GTK2], Adwaita [GTK3] Y$$b. Terminal: xfce4-terminal
"Y$b._ Terminal Font: Monospace 12 “”” CPU: Intel i3-5020U (4) @ 2.100GHz
GPU: Intel HD Graphics 5500
Memory: 1850MiB / 5885MiB

x@x:~$ snap version
2019/10/15 18:20:04.241214 main.go:150: description of login’s “” is lowercase: “e-mail, kterým se přihlásit k login.ubuntu.com
2019/10/15 18:20:04.241606 main.go:150: description of wait’s “” is lowercase: “snap kterého nastavení bude zkontrolováno”
snap 2.42
snapd 2.42
series 16
ubuntu 19.10
kernel 5.3.0-18-generic
x@x:~$ cat /etc/os-release
NAME=“Ubuntu”
VERSION=“19.10 (Eoan Ermine)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 19.10”
VERSION_ID=“19.10”
HOME_URL="…" (… are because I cannot send links)
SUPPORT_URL="…"
BUG_REPORT_URL="…"
PRIVACY_POLICY_URL="…"
VERSION_CODENAME=eoan
UBUNTU_CODENAME=eoan
x@x:~$ neofetch
.-/+oossssoo+/-. x@x
:+ssssssssssssssssss+: -------------
-+ssssssssssssssssssyyssss± OS: Ubuntu 19.10 x86_64
.ossssssssssssssssssdMMMNysssso. Host: 30AK000CMC ThinkStation P300
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 5.3.0-18-generic
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 43 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 3505 (dpkg), 13 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.0.3
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 1920x1080
ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: GNOME 3.34.1
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: GNOME Shell
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: Adwaita
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Yaru [GTK2/3]
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Yaru [GTK2/3]
+sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: gnome-terminal
/ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: Intel Xeon E3-1226 v3 (4) @ 3.700GHz
.ossssssssssssssssssdMMMNysssso. GPU: Intel HD Graphics
-+sssssssssssssssssyyyssss± Memory: 3409MiB / 7851MiB
:+ssssssssssssssssss+:
.-/+oossssoo+/-.

Thanks a lot.

snap version
snap    2.42
snapd   2.42
series  16
deepin  15.11
kernel  4.15.0-30deepin-generic

neofetch
             ............                alexbruno@deepin-linux-dell-inspiron 
         .';;;;;.       .,;,.            ------------------------------------ 
      .,;;;;;;;.       ';;;;;;;.         OS: Deepin 15.11 x86_64 
    .;::::::::'     .,::;;,''''',.       Model: Inspiron 7460 
   ,'.::::::::    .;;'.          ';      Kernel: 4.15.0-30deepin-generic 
  ;'  'cccccc,   ,' :: '..        .:     Uptime: 14 minutes 
 ,,    :ccccc.  ;: .c, '' :.       ,;    Packages: 1749 
.l.     cllll' ., .lc  :; .l'       l.   Shell: bash 4.4.12 
.c       :lllc  ;cl:  .l' .ll.      :'   Resolution: 1920x1080 
.l        'looc. .   ,o:  'oo'      c,   DE: Deepin 
.o.         .:ool::coc'  .ooo'      o.   WM: KWin 
 ::            .....   .;dddo      ;c    Icons: Deepin [GTK2/3] 
  l:...            .';lddddo.     ,o     Terminal: deepin-terminal 
   lxxxxxdoolllodxxxxxxxxxc      :l      CPU: Intel i5-7200U (4) @ 3.1GHz 
    ,dxxxxxxxxxxxxxxxxxxl.     'o,       GPU: NVIDIA GeForce 940MX 
      ,dkkkkkkkkkkkkko;.    .;o;         Memory: 1801MB / 15939MB 
        .;okkkkkdl;.    .,cl:.            
            .,:cccccccc:,.               ████████████████████████

snap version
snap 2.42
snapd 2.42
series 16
raspbian 10

PRETTY_NAME=“Raspbian GNU/Linux 10 (buster)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“10”
VERSION=“10 (buster)”
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="/"
SUPPORT_URL=""
BUG_REPORT_URL=""

Putty

snap vresion

$ snap version
snap    2.42
snapd   2.42
series  16
kali    2019.4
kernel  5.2.0-kali3-amd64
$ 

/etc/os-release:

$ cat /etc/os-release 
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2019.4"
VERSION_ID="2019.4"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
$ 
$ neofetch
..............                                     toor@X.X.X
            ..,;:ccc,.                             --------------------- 
          ......''';lxO.                           OS: Kali GNU/Linux Rolling x86_64 
.....''''..........,:ld;                           Host: HP EliteDesk 800 G2 DM 65W 
           .';;;:::;,,.x,                          Kernel: 5.2.0-kali3-amd64 
      ..'''.            0Xxoc:,.  ...              Uptime: 11 hours, 18 mins 
  ....                ,ONkc;,;cokOdc',.            Packages: 3233 (dpkg), 6 (snap) 
 .                   OMo           ':ddo.          Shell: bash 5.0.3 
                    dMc               :OO;         Resolution: 1920x1200 
                    0M.                 .:o.       DE: GNOME 3.34.0 
                    ;Wd                            WM: Mutter 
                     ;XO,                          WM Theme: Kali-X 
                       ,d0Odlc;,..                 Theme: Kali-X [GTK2/3] 
                           ..',;:cdOOd::,.         Icons: Vibrancy-Kali [GTK2/3] 
                                    .:d;.':;.      Terminal: gnome-terminal 
                                       'd,  .'     CPU: Intel i7-6700 (8) @ 4.000GHz 
                                         ;l   ..   GPU: Intel HD Graphics 530 
                                          .o       Memory: 3241MiB / 32114MiB 
                                            c
                                            .'                             
                                             .                             


$

@chipaca - Is there an actual fix for this issue?

I’m really sorry I haven’t found time to curate this mess yet.

It’s a packaging / integration issue, and needs addressing in detail. So the question is, why does your distribution’s packaging not suffice to get your shell to pick up what snapd ships as tweaks to PATH? There are at least three components to that question.

We ship snippets that should get picked up by bash such that, if you restart your session after installing snapd, $PATH should include /snap/bin (or /var/lib/snapd/snap/bin if that’s where your distro puts things).

In your case in particular: Have you restarted your session after installing snapd? What’s $PATH? Have you tweaked your bash’s profile (or rc) such that it no longer picks up the distro’s defaults? That’s the line down which you need to look, for your machine. I expect everybody reporting here has different answers, and only for some will this research result in something we can fix.

[htadmin@htnuc ~]$ snap version
snap    2.42.1-1.el8
snapd   2.42.1-1.el8
series  16
rhel    8.1
kernel  4.18.0-147.0.3.el8_1.x86_64
[htadmin@htnuc ~]$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.1 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.1"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.1 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.1:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.1
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.1"
[htadmin@htnuc ~]$ neofetch
           .MMM..:MMMMMMM                  htadmin@htnuc 
          MMMMMMMMMMMMMMMMMM               ------------- 
          MMMMMMMMMMMMMMMMMMMM.            OS: Red Hat Enterprise Linux 8.1 (Ootpa) x86_64 
         MMMMMMMMMMMMMMMMMMMMMM            Kernel: 4.18.0-147.0.3.el8_1.x86_64 
        ,MMMMMMMMMMMMMMMMMMMMMM:           Uptime: 1 hour, 23 mins 
        MMMMMMMMMMMMMMMMMMMMMMMM           Packages: 1652 (rpm), 3 (snap) 
  .MMMM'  MMMMMMMMMMMMMMMMMMMMMM           Shell: bash 4.4.19 
 MMMMMM    `MMMMMMMMMMMMMMMMMMMM.          Resolution: 1920x1080, 1920x1080 
MMMMMMMM      MMMMMMMMMMMMMMMMMM .         DE: GNOME 3.32.2 
MMMMMMMMM.       `MMMMMMMMMMMMM' MM.       Theme: Adwaita [GTK2/3] 
MMMMMMMMMMM.                     MMMM      Icons: Adwaita [GTK2/3] 
`MMMMMMMMMMMMM.                 ,MMMMM.    Terminal: gnome-terminal 
 `MMMMMMMMMMMMMMMMM.          ,MMMMMMMM.   CPU: Intel i7-6770HQ (8) @ 3.500GHz 
    MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM   GPU: Intel Iris Pro Graphics 580 
      MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM:   Memory: 2089MiB / 15765MiB 
         MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
            `MMMMMMMMMMMMMMMMMMMMMMMM:                             
                ``MMMMMMMMMMMMMMMMM'                               

it actually works just fine out of the box, maybe “check” (that produces that warning) needs to be re-checked?)

toor@suey:~$ sudo snap install microk8s --classic
[sudo] password for toor: 
Warning: /snap/bin was not found in your $PATH. If you've not restarted your session since you
         installed snapd, try doing that. Please see https://forum.snapcraft.io/t/9469 for more
         details.

microk8s v1.16.2 from Canonical✓ installed
toor@suey:~$ echo $PATH | egrep -o \/snap.*\:
/snap/bin:
toor@suey:~$

and if you do the same via sudo (sudo printenv PATH for example)?

@chipaca Just wanted to let you know that I had this same error.
I managed to “fix” it by not using sudo even-though it is suggested by the installation guide.
I should add that I was logged in as root anyway so I had no issues.

Versions

NAME=“CentOS Linux”
VERSION=“7 (Core)”
ID=“centos”
ID_LIKE=“rhel fedora”
VERSION_ID=“7”
PRETTY_NAME=“CentOS Linux 7 (Core)”
ANSI_COLOR=“0;31”
CPE_NAME=“cpe:/o:centos:centos:7”

CENTOS_MANTISBT_PROJECT=“CentOS-7”
CENTOS_MANTISBT_PROJECT_VERSION=“7”
REDHAT_SUPPORT_PRODUCT=“centos”
REDHAT_SUPPORT_PRODUCT_VERSION=“7”

snap 2.42.2-1.el7
snapd 2.42.2-1.el7
series 16
centos 7
kernel 3.10.0-1062.1.1.el7.x86_64