Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-05-2009, 03:32 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
gfortran download

where can i download gfortran?
Old 11-05-2009, 04:10 AM   #2
Registered: Oct 2009
Posts: 467

Rep: Reputation: 139Reputation: 139
Originally Posted by elnaz View Post
where can i download gfortran?
Old 11-05-2009, 05:01 AM   #3
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
this has not much to do with programming...

check on how to get programs with linux.
Go to your package manager (synaptic, etc), search for gfortran and select it for install. If you don't find it over there then you google for it and follow the installing instructions, but more than probably, it's on the packages of your distro.
sudo apt-get install gfortran
Old 11-05-2009, 10:46 AM   #4
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,698

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
.. And now Suse ..
Please open a terminal and do the commands
1) su
2) zypper se fortran
.. to do a search.
.. Suse 11 will reply ..
  | gcc-fortran   | The system GNU Fortran Compiler       
  | gcc43-fortran | The GNU Fortran Compiler and Support Files
  | libgfortran43 | The GNU Fortran Compiler Runtime Library
.. where gcc-fortran provides '/usr/bin/gfortran'

3) zypper in gcc-fortran
.. which will download and install the Suse gfortran packages.

The package manager "Add / Remove Software" can also be used
for package install.

Last edited by knudfl; 11-05-2009 at 11:13 AM.
Old 11-06-2009, 08:49 AM   #5
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,062

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Alternatively 'yast' followed by either 'software management' or 'install and remove software' 9depending on which version of yast) and a search on 'fortran' should reveal a couple of fortran options and a couple of libraries; the libraries will be pulled in automagically, as required, if you select the appropriate fortran. Oh, and fortran2c, which sounds useful, but maybe not to you.

In this, 'where' isn't exactly the most useful question; with the repositories set up sensibly the answer to 'how' seems to be 'the same way as usual' and you don't need to care about 'where'.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ifort and gfortran hanamilani Linux - Software 1 02-15-2009 12:34 PM
help gfortran mperez Programming 2 12-16-2007 12:50 PM
Easy way to get gfortran? sgware Linux - Newbie 2 10-22-2007 01:40 AM
gfortran libraries curosie Programming 1 08-26-2005 10:37 PM
gfortran and pgf90 peeInMyPantz Programming 1 08-08-2005 04:54 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration