sudo snap install spotify
succeeded and running it again indicates Spotify is installed. However, running
gives command not found! Searching in Unity for "spotify" yields no results. What do?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
$PATH variable by executing in a Terminal:
The output should be very similar to this:
You have to verify if
/snap/bin is included in this
$PATH, otherwise you have to add it manually, here is how to do it: How do I modify my PATH so that the changes are available in every Terminal session.
If this doesn't work, try deleting and installing again the snap, the required commands are:
sudo snap list to verify if Spotify is installed.
sudo snap remove spotify to delete it.
sudo snap install spotify to re-install it again.
After installing it you can run the command
which spotify to see if it is recognized now.
Hope it helps, good luck!
I'm on elementary OS FWIW. My paths are correct.
I was able to manually launch the item via @Zzzach...'s answer subbing in the symlink "current" for the version number as his answer must have been early on in the snap spotify install.
So I manually edited the desktop entry at
to change the exec location from /snap/spotify to /snap/spotify/current/usr/bin/spotify %U
and then it worked via snap. Whether it persists across an update is another story.
I think you could also edit this via the alacarte option too.