Install libgfortran-4.8-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libgfortran-4.8-dev
Description:
Runtime library for GNU Fortran applications (development files)
This package contains the headers and static library files needed to build GNU Fortran applications.
Homepage: http://gcc.gnu.org/
Version: 4.8.5-4ubuntu8
Section: universe/libdevel