Install gfortran by entering the following commands in the terminal:
sudo apt update sudo apt install gfortran
Description:
GNU Fortran 95 compiler
This is the GNU Fortran 95 compiler, which compiles Fortran 95 on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Fortran 95 compiler.
Version: 4:7.3.0-3ubuntu2
Section: devel