在Debian上配置Fortran環境,可按以下步驟進行:
sudo apt update
sudo apt install gfortran
gfortran --version
source /opt/intel/oneapi/setvars.sh
~/.bashrc
hello.f90
gfortran hello.f90 -o hello
./hello