4

I want to see what Mono runtimes are installed on my Ubuntu 2014.04.
How to do?

For now it is just trial-and-error:

mono --runtime=v2.0.50727 -> OK
mono --runtime=v3.0       -> KO
mono --runtime=v4.0.30319 -> OK

Where can I see the list of numbers like 4.0.30319 that are OK?

Nicolas Raoul
  • 11,603

2 Answers2

1

An old question, but maybe this helps. From a terminal window,

gacutil -l | less 

will list all of the assemblies in the Global Assembly Cache which is where the framework lives. The list includes the version numbers. My 14.04 install appears to contain versions 2.0, 3.5 and 4.0. Note that these numbers don't include the final build number like Microsoft does.

muru
  • 197,895
  • 55
  • 485
  • 740
0

you can use this to check the mono version installed on your system.

mono --version

OR

mono -V

shahid.pk
  • 21
  • 3
  • That would only give the current preferred version of mono. If Mono uses the alternatives system, try update-alternatives --list mono (or whatever name the mono alternative config has) – s3lph Aug 29 '14 at 22:15
  • 1
    Wrong answer. Its shows the version of mono itself. Not the supported runtimes. – Sasha Oct 24 '16 at 19:47