0

system says the latest version of gfortran has been installed when I retry the sudo command, but then i still get the command not found error for gfortran. I'm guessing it's something to do with the directory?

I'm using a virtual machine to emulate 29~20.04.1-Ubuntu. The command:

gfortran hello.f90 -o hello

and the error:

gfortran: Command not found.

When I use sudo apt-get install gfortran, i get: gfortran is already the newest version (4:9.3.0-1ubuntu2).

Kusalananda
  • 333,661

0 Answers0