installation of compiler gfortran in centos 6

Enric Agud Pique picture Enric Agud Pique · May 27, 2015 · Viewed 17.1k times · Source

I try to install some compilers. I use Centos 6 in my laptop. I have installed the gcc, the "GNU" C Compiler. I need to install also gfortran, but when I type yum install gfortran, I get the message no package gfortran available.

Do you know how can I install the fortran compiler?

Answer

Deeh picture Deeh · May 27, 2015

Try yum install gcc-gfortran

You can use yum search gfortran, to view relevant packages