How to determine which version of gfortran is installed?
I have the gfortran, but I have been told that gfortran versions 4.2 and older lacked some f90 functionality. How do I determine which version is already installed? Also, can I install the latest version even if I don't have superuser priviledges?
Solution 1:
To get the version, try at the command line:
$ gfortran --version
GNU Fortran (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
[...]
If you want to install without root privileges (no root password and no sudo rights), then you can install into your home directory only. You have to download the source code, then compile and install it yourself, then set up the appropriate environment.