Linux Shout shows you how to install Gfortran 9, 10 or 11 on Ubuntu 20.04 LTS.
How to install Gfortran 9, 10 or 11 on Ubuntu 20.04 LTS
Commands to install Gfortran 5/6/7/8/9/10/11 versions on Ubuntu 18.04/20.04/21.04, Linux Mint, Debian, and other similar systems.
How to install Gfortran 9, 10 or 11 on Ubuntu 20.04 LTS