❯ snap version
snap 2.62-0.fc40
snapd 2.62-0.fc40
series 16
fedora 40
kernel 6.8.10-300.fc40.x86_64
❯ cat /etc/os-release
NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="Workstation Edition"
VARIANT_ID=workstation
❯ neofetch
.',;::::;,'. nico@nico-fedora-niflheim
.';:cccccccccccc:;,. -------------------------
.;cccccccccccccccccccccc;. OS: Fedora Linux 40 (Workstation Edition) x86_64
.:cccccccccccccccccccccccccc:. Host: Niflheim 17 II Standard
.;ccccccccccccc;.:dddl:.;ccccccc;. Kernel: 6.8.10-300.fc40.x86_64
.:ccccccccccccc;OWMKOOXMWd;ccccccc:. Uptime: 9 mins
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:. Packages: 2322 (rpm), 20 (flatpak), 10 (snap)
,cccccccccccccc;MMM.;cc;;WW::cccccccc, Shell: zsh 5.9
:cccccccccccccc;MMM.;cccccccccccccccc: Resolution: 2560x1440, 2560x1600
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc: DE: GNOME 46.1
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc; WM: Mutter
ccccc:XM0';cccc;MMM.;cccccccccccccccc' WM Theme: Adwaita
ccccc;MMo;ccccc;MMW.;ccccccccccccccc; Theme: Adwaita [GTK2/3]
ccccc;0MNc.ccc.xMMd:ccccccccccccccc; Icons: Adwaita [GTK2/3]
cccccc;dNMWXXXWM0::cccccccccccccc:, Terminal: gnome-terminal
cccccccc;.:odl:.;cccccccccccccc:,. CPU: 13th Gen Intel i9-13900HX (32) @ 5.200GHz
:cccccccccccccccccccccccccccc:'. GPU: NVIDIA GeForce RTX 4070 Max-Q / Mobile
.:cccccccccccccccccccccc:;,.. Memory: 4837MiB / 31816MiB
'::cccccccccccccc::;,.
As noted by @rov9 , I also only get this message when running with sudo
. When running normally (snap install ...
), it prompts me for a password and the message doesn’t appear.
I’ve initially logged out and back in: no changes, then a full reboot: no changes. I’ve ran echo "$PATH"
and verified /var/lib/snapd/snap/bin
it is my path.
Update: I’ve also found this thread, it seems this has more to do with how secure_path
works on Fedora and RHEL, than with Snap itself. You could try running sudo -E install ...
, although that might not work. Alternatively you could run sudo --preserve-env=PATH snapp install ...
(I haven’t tried these, since I’m using doas
instead of sudo
). But I am curious if this works for others, so let me know.