My system is Ubuntu 14.04.
When a snap is installed, you can run the program in it by guessing its name and running it. What if you have another program of the same name installed? How can you choose which one is run?
VLC 2.1.6 is already installed on my machine, using
apt-get. That’s the version in the Ubuntu repos.
Today, snapcraft has version 3.0.4, so I did
snap install vlc and it seemed to install OK.
However when I run
vlc, or select
VLC media player from the Unity menu thing, I get version 2.1.6. How can I make sure to run the snap version?
I would just
apt-get remove vlc and then presumably only the snap version would be left, but doing so removes the familiar VLC app and leaves behind some strange command-line VLC when I run
vlc. I could fiddle around working out where that comes from and remove it – but it seems likely that there’s a reliable way to do run the snap version explicitly, in the general case, in case the name is already used.