在Debian上更新Fortran版本,通常使用GNU Fortran编译器(gfortran),可按以下步骤操作:
Ctrl + Alt + T组合键快速打开。sudo apt update。sudo apt install gfortran。gfortran --version命令查看版本信息。若需安装特定版本的gfortran,可添加相应PPA,如sudo add-apt-repository ppa:ubuntu-toolchain-r/tests,再执行sudo apt update和sudo apt install gfortran-<版本号>。