I recently installed gfortran with apt-get install gfortran
, but it turned out to be the latest version 4.9, which is not compatible with software that demanded gfortran in the first place. So I removed it and tried apt-get install gfortran-4.8
. The problem is that now it can be run with gfortran-4.8
(obviously) instead of gfortran
which is expected by the other software.
Can I make it run with gfortran
command?
edit:
I read about aliases and tried setting up ~/.bash_aliases
containing
alias gfortran='gfortran-4.8'
but with no effect.