I want to have two versions of Gmsh: 2.10.1 (http://gmsh.info/bin/Linux/gmsh-2.10.1-Linux64.tgz) and 3.0.6 (the latest) on my Ubuntu 16.04 LTS machine. Both of which I seem to have installed successfully. However, I observed something weird:
apt-cache policy gmsh gives this:
gmsh:
Installed: 2.10.1+dfsg1-1ubuntu4
Candidate: 2.10.1+dfsg1-1ubuntu4
Version table:
*** **2.10.1+dfsg1-1ubuntu4** 500
500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
While gmsh -version gives
3.0.6
What does it mean? Is this also related to another observation that the Ubuntu Software listed only 2.10.1 version before I installed 3.0.6 and after installation of 3.0.6 it doesn't list anything for gmsh.
Running gmsh starts the 3.0.6 version. I don't know how to start the other.
Assuming I've both the versions, I believe I'll have to do something like source the correct files from .bashrc with some aliases? I'm not sure how. Can someone help? What's going on and how can I use both versions as per need?