Install gfortran-7 by entering the following commands in the terminal:
sudo apt update sudo apt install gfortran-7
Description:
GNU Fortran compiler
This is the GNU Fortran compiler, which compiles Fortran on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code.
Homepage: http://gcc.gnu.org/
Version: 7.3.0-16ubuntu3
Section: devel