安装MPI20170520 - RobotQZ/MyLearningAboutUbuntu- GitHub Wiki

1、安装gfortran:sudo apt-get install gfortran 2、Q:The following packages have unmet dependencies: gfortran : Depends: gfortran-4.8 (>= 4.8.2-5~) but it is not going to be installed E: Unable to correct problems, you have held broken packages. A:更换源地址:系统设置->软件与更新->Ubuntu Software中的软件源地址改成合适的源(选择中国的源就可以);之后在到终端中更新:sudo apt-get update ,之后在安装即可。