Results 1 to 6 of 6
Hey,
I need to know if I have a fortran compiler installed onto my ubuntu box. Are there any command lines that might reveal whether I have this compiler installed ...
- 06-10-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 1
How to find out if I have a fortran compiler installed on my ubuntu 9.04 box?
Hey,
I need to know if I have a fortran compiler installed onto my ubuntu box. Are there any command lines that might reveal whether I have this compiler installed on my system or not? Does ubuntu come with a fortran compiler natively? This is a freshly installed system.
-L188
- 06-10-2009 #2
It is unlikely to be installed by default. You can install gfortran by opening a terminal and running the folowing command
"sudo apt-get install gfortran" (without the quotes)
If you are happier with a GUI, use Synaptic to search for gfortran.If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 06-10-2009 #3forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Welcome to the forums!
You can check this HowTo for installing various compilers on Ubuntu:
https://help.ubuntu.com/community/InstallingCompilersoz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 06-11-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,977
Fortran 77 is part of the gnu compiler suite (gcc). Look for f77, gfortran, or g77. If they aren't there, then you can install it with apt-get: sudo apt-get install gcc-gfortran
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-11-2009 #5
In general, if you are looking for a command and you know what it does, you use the apropos command, i.e.
apropos fortran | less
Will list all the commands that have the word fortran in the their man pages, and will show their title as well so you can acertain their use.
- 06-11-2009 #6If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.


Reply With Quote
