Hi.
I installed the snap installer on my tumbleweed however the line /snap /bin was not added to the $ Path of environmental variables after restart.
How to add line /snap /bin to $ path from tumbleweed?
I already searched the internet but … each distro do it in its own way the confusion is total.
I already added the line in .Bashrc and ok … but it is not permanent to everyone.
I already added the line at the end of /etc /profile file but the line not performed and everything remains without solution.
Previously I even added the line to the file /etc/environment but on tumbleweed I don’t know where to add the line so that it is permanent and accessible to everyone
So you mean $PATH? Then please spell it like that. No extra spaces, no a instead of A, etc. That is all very important. The system will not understand you and people here will also not understand you.
Again wrong, there should be no space between /etc and /profile, it should be /etc/profile.
And please SHOW that line. How can we comment on it being correct or not when we do not see it?
I apologize for my English (I am Portuguese and sometimes forced to resort to Google translator) which sometimes to problems of understanding. I apologize once again but I think here there was a little exaggeration.
I simply wanted to add the snap to the environment variables permanently.
Good! For all who suffer from this problem below when they have to install Skype from the snap installer and the installer has not added the SNAP variable in the variable environment.
asus-x93sm:/home/eragontux # snap install skype 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 - snapd - snapcraft.io for more details.
skype 8.119.0.201 from Skype✓ installed
WARNING: There is 1 new warning. See ‘snap warnings’.
To fix this permanent. On a console as root run the following command: echo “export PATH=$PATH:/snap/bin” >> /etc/bash.bashrc