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 2.45
snapd 2.45
series 16
kali 2020.2
kernel 5.6.0-kali2-amd64
As pointed earlier, the applications installed via snap need to be run as
snap run AppName
Additionally for example
snap run brave
[8668:8668:0607/110358.436256:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I’m aborting now. You need to make sure that /snap/brave/69/opt/brave.com/brave/chrome-sandbox is owned by root and has mode 4755.
/snap/brave/69/opt/brave.com/brave/brave-browser: line 48: 8668 Trace/breakpoint trap “$HERE/brave” “$@”
ryan@pocketwee:~$ sudo snap install i2pd
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.
i2pd 2.32.1 from Darknet Villain (supervillain) installed
ryan@pocketwee:~$ snap version
snap 2.45
snapd 2.45
series 16
debian 10
kernel 4.19.0-9-amd64
ryan@pocketwee:~$ cat /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/"
But the snapd version I had installed from Debian is:
ryan@pocketwee:~$ apt list snapd
Listing... Done
snapd/stable,now 2.37.4-1+b1 amd64 [installed]
Somewhere online I saw instructions to run ‘snap install snapd’, and that installed the newer version. Is the problem a conflict between the two versions?
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
for more details.
snap-store 3.31.1+git187.84b64e0b from Canonical✓ installed
[orca@orcacomputers ~]$ snap version
snap 2.45-1.el7
snapd 2.45-1.el7
series 16
centos 7
kernel 3.10.0-1062.18.1.el7.x86_64
[orca@orcacomputers ~]$ 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/”
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.
ryan@pocketwee:~$ snap version
snap 2.45.1
snapd 2.45.1
series 16
debian 10
kernel 4.19.0-9-amd64
$ sudo snap install postman
[sudo] password for xxx:
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.
postman 7.27.1 from Postman, Inc. (postman-inc✓) installed
$ snap version
snap 2.45.1
snapd 2.45.1
series 16
deepin 15.11
kernel 4.15.0-30deepin-generic
What is the solution to fix this in centos 7? This happens every time I have tried to use snap on multiple installs.
Selinux is disabled. Below is more info requested:
[root@workstation ~]# snap install yq
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.
yq 3.3.1 from Mike Farah (mikefarah) installed
[root@workstation ~]# which yq
/usr/bin/which: no yq in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/git/bin:/root/bin)
[root@workstation ~]# 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"
[root@workstation ~]# snap version
snap 2.45-1.el7
snapd 2.45-1.el7
series 16
centos 7
kernel 3.10.0-1127.13.1.el7.x86_64
I rebooted my system after install snap and /var/lib/snapd/bin was not found on my $PATH
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](https://forum.snapcraft.io/t/9469)
for more details.
I’m here through this link on warning
Snap version
snap 2.45.3.1-1
snapd 2.45.3.1-1
series 16
arch -
kernel 5.7.12-arch1-1
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.
certbot 1.7.0 from Certbot Project (certbot-eff✓) installed
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.
flutter 0+git.142868f from Flutter Team✓ installed
Snap version:
rik@devrikx:~$ snap version
snap 2.45.3.1
snapd 2.45.3.1
series 16
debian -
kernel 5.7.0-2-amd64
This is shit, compared to sudo snap install skype --classicand before adding up sudo visudo uncommenting hardcoded path, adding /snap/bin to it, it works. Like a charm, dudes.
Sharing my experience while doing this nextcloud.manual-install
Error:
Command ‘nextcloud.manual-install’ is available in ‘/snap/bin/nextcloud.manual-install’
The command could not be located because ‘/snap/bin’ is not included in the PATH environment variable.
snap version
snap 2.45.3.1
snapd 2.45.3.1
series 16
ubuntu 20.04
kernel 5.4.0-42-generic
2020-09-14T12:27:05-07:00 INFO Waiting for automatic snapd restart…
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 How to fix snap binaries not found
for more details.
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.
The output of snap version :
snap 2.47
snapd 2.47
series 16
debian 10
kernel 4.19.0-10-amd64
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.
$ snap version
snap 2.48
snapd 2.48
series 16
debian -
kernel 5.9.0-4-amd64
I’ve found that I get this error when installing hello-world with ‘snap install hello-world’, from xfce-term, but I don’t get the error from a console window. (That’s with ‘snap remove hello-world’ between tests.) Furthermore, whichever I used to install hello-world, hello-world executes on the console window, but not in xfce-term.
So, snapd sets $PATH and $XDG_DATA_DIRS in /etc/profile.d/apps-bin-path.sh, but /etc/profile
and /etc/profile.d aren’t used in the graphical logins in Debian. [1]
Older versions of snapd also had set $XDG_DATA_DIRS in /etc/X11/Xsession.d/65snappy, which
was used in the X sessions. But that was dropped upstream in [2], which happened some time
after Stretch was released, but before Buster was released.
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.49-2
snapd 2.49-2
series 16
manjaro -
kernel 5.10.19-1-MANJARO