在Ubuntu上发布Fortran代码,可参考以下步骤:
sudo apt update
sudo apt install gfortran
.f90
gfortran -o 可执行文件名 源文件名.f90
tar -czvf 压缩包名.tar.gz 目录名/