Install gfortran in Ubuntu

Unlike what has been recorded in gfortran 在 windows 上的安装和运行, it's quite easy to install gfortran in Ubuntu, you just need to type sudo aptitude install gfortran-5 in Termnal.

If you also wanna install along with the doc, type sudo aptitude install gfortran-doc after the last installation.

Note, the gfortran should be evoked by gfortran-5 but not fortran, any way, you can set what you want it to be.

I recommend to you the fortran package for SublimeText.

Remember to make certain changes to the build-system if needed per your compiler.

你可能感兴趣的:(Install gfortran in Ubuntu)