Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
You are asking multiple questions. It would be much better if you divided your post into to separate questions - that makes them easier to answer, and this way you'll get most help. – Rafał Cieślak Jan 29 '12 at 14:40
Also, you posed 4 questions (including this) but you never accepted one of the several answers you got. This does not incentive people to spent their time to give you an answer. – enzotib Jan 29 '12 at 14:42
up vote 4 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.