/usr/bin/x86_64-linux-gnu-gfortran is in gfortran 4:5.3.1-1ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/gfortran-5
/usr/bin/gfortran-5